mirror of
https://github.com/django-components/django-components.git
synced 2025-09-19 12:19:44 +00:00
Update pyproject.toml
This commit is contained in:
parent
a15665759f
commit
369fb8d3ff
1 changed files with 0 additions and 26 deletions
|
@ -147,32 +147,6 @@ ignore = [
|
|||
"N818", # Exception name `NotRegistered` should be named with an Error suffix
|
||||
]
|
||||
|
||||
[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.per-file-ignores]
|
||||
"tests/*" = [
|
||||
"ARG002", # Unused method argument: `components_settings`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue