Skip to content

Commit 328d50a

Browse files
committed
Disable pep8-naming for the top level
Otherwise ruff complains, the template tests catch this anyway
1 parent 87224d4 commit 328d50a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pyproject.toml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,7 @@ lint.select = [
5555
"C4", # flake8-comprehensions - https://docs.astral.sh/ruff/rules/#flake8-comprehensions-c4
5656
"E", # pycodestyle errors - https://docs.astral.sh/ruff/rules/#error-e
5757
"F", # pyflakes rules - https://docs.astral.sh/ruff/rules/#pyflakes-f
58-
"N", # pep8-naming - https://docs.astral.sh/ruff/rules/#pep8-naming-n
5958
"W", # pycodestyle warnings - https://docs.astral.sh/ruff/rules/#warning-w
6059
"I", # isort - https://docs.astral.sh/ruff/rules/#isort-i
6160
"UP", # pyupgrade - https://docs.astral.sh/ruff/rules/#pyupgrade-up
6261
]
63-
64-
[tool.ruff.lint.per-file-ignores]
65-
# Ignore variable names inside the template because ruff doesn't
66-
# work well with jinja templating. Any violations of N rules inside
67-
# the template are caught by the tests.
68-
"template/**/*" = ["N"]

0 commit comments

Comments
 (0)