Skip to content

Commit 9ebdac6

Browse files
committed
More linting fixes.
1 parent 7ce959b commit 9ebdac6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,6 @@ lint.select = [
120120
]
121121
lint.ignore = [
122122
"ANN003", # Missing type annotation for kwargs
123-
"ANN101", # Missing type annotation for self in method
124-
"ANN102", # Missing type annotation for cls in classmethod
125123
"B023", # Function definition does not bind loop variable
126124
"B028", # No explicit stacklevel keyword argument found
127125
"B904", # Within an except clause, raise exceptions with ...
@@ -149,8 +147,7 @@ lint.isort.required-imports = ["from __future__ import annotations"]
149147
lint.isort.split-on-trailing-comma = false
150148

151149
[tool.ruff.lint.per-file-ignores]
152-
"**/tests/**" = ["D"]
153-
"tasks.py" = ["D"]
150+
"!src/**.py" = ["D", "EXE"]
154151

155152

156153
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)