mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-09-20 19:02:37 +03:00
Remove mentions of UP038 which has been removed
This commit is contained in:
parent
3fbd8f3789
commit
3b8c78a36c
|
@ -125,14 +125,6 @@ lint.ignore = [
|
||||||
"S101", # Use of assert detected https://docs.astral.sh/ruff/rules/assert/
|
"S101", # Use of assert detected https://docs.astral.sh/ruff/rules/assert/
|
||||||
"SIM102", # sometimes it's better to nest
|
"SIM102", # sometimes it's better to nest
|
||||||
"TRY003", # Avoid specifying long messages outside the exception class
|
"TRY003", # Avoid specifying long messages outside the exception class
|
||||||
# Checks for uses of isinstance/issubclass that take a tuple of types for comparison.
|
|
||||||
# Deactivated because it can make the code slow: https://github.com/astral-sh/ruff/issues/7871
|
|
||||||
"UP038",
|
|
||||||
]
|
|
||||||
# The fixes in extend-unsafe-fixes will require
|
|
||||||
# provide the `--unsafe-fixes` flag when fixing.
|
|
||||||
lint.extend-unsafe-fixes = [
|
|
||||||
"UP038",
|
|
||||||
]
|
]
|
||||||
lint.isort.force-single-line = true
|
lint.isort.force-single-line = true
|
||||||
|
|
||||||
|
|
|
@ -127,16 +127,10 @@ ignore = [
|
||||||
"S101", # Use of assert detected https://docs.astral.sh/ruff/rules/assert/
|
"S101", # Use of assert detected https://docs.astral.sh/ruff/rules/assert/
|
||||||
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
|
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
|
||||||
"SIM102", # sometimes it's better to nest
|
"SIM102", # sometimes it's better to nest
|
||||||
"UP038", # Checks for uses of isinstance/issubclass that take a tuple
|
|
||||||
# of types for comparison.
|
# of types for comparison.
|
||||||
# Deactivated because it can make the code slow:
|
# Deactivated because it can make the code slow:
|
||||||
# https://github.com/astral-sh/ruff/issues/7871
|
# https://github.com/astral-sh/ruff/issues/7871
|
||||||
]
|
]
|
||||||
# The fixes in extend-unsafe-fixes will require
|
|
||||||
# provide the `--unsafe-fixes` flag when fixing.
|
|
||||||
extend-unsafe-fixes = [
|
|
||||||
"UP038",
|
|
||||||
]
|
|
||||||
|
|
||||||
[tool.ruff.lint.isort]
|
[tool.ruff.lint.isort]
|
||||||
force-single-line = true
|
force-single-line = true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user