mirror of
https://github.com/django-components/django-components.git
synced 2025-09-19 20:29:44 +00:00
Update pyproject.toml
This commit is contained in:
parent
a15665759f
commit
369fb8d3ff
1 changed files with 0 additions and 26 deletions
|
@ -173,32 +173,6 @@ ignore = [
|
||||||
"DTZ", # `datetime` found
|
"DTZ", # `datetime` found
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.ruff.lint.per-file-ignores]
|
|
||||||
"tests/*" = [
|
|
||||||
"ARG002", # Unused method argument: `components_settings`
|
|
||||||
"ANN", # Annotations are not needed for tests
|
|
||||||
"N806", # Variable `SimpleComponent` in function should be lowercase
|
|
||||||
"PLC0415", # `import` should be at the top-level of a file
|
|
||||||
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
|
|
||||||
"S101", # Use of `assert` detected
|
|
||||||
"TRY002", # Create your own exception
|
|
||||||
]
|
|
||||||
"benchmarks/*" = [
|
|
||||||
"ARG002", # Unused method argument: `components_settings`
|
|
||||||
"ANN", # Annotations are not needed for tests
|
|
||||||
"N806", # Variable `SimpleComponent` in function should be lowercase
|
|
||||||
"PLC0415", # `import` should be at the top-level of a file
|
|
||||||
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
|
|
||||||
"S101", # Use of `assert` detected
|
|
||||||
"TRY002", # Create your own exception
|
|
||||||
]
|
|
||||||
"sampleproject/*" = [
|
|
||||||
"ARG002", # Unused method argument
|
|
||||||
"ANN", # Annotations are not needed for tests
|
|
||||||
"T201", # `print` found
|
|
||||||
"DTZ", # `datetime` found
|
|
||||||
]
|
|
||||||
|
|
||||||
[tool.ruff.lint.isort]
|
[tool.ruff.lint.isort]
|
||||||
known-first-party = ["django_components"]
|
known-first-party = ["django_components"]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue