Update pyproject.toml

This commit is contained in:
Juro Oravec 2025-09-14 16:04:16 +02:00 committed by GitHub
parent a15665759f
commit 369fb8d3ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"]