Skip to content

Commit 2f4d0eb

Browse files
committed
fix(linting): attempt by changing ignores
1 parent 53eaeee commit 2f4d0eb

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

ruff.toml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,22 @@ exclude = [
3232
line-length = 120
3333
indent-width = 4
3434

35-
target-version = "py311"
35+
target-version = "py312"
3636

3737
[lint]
3838
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
39-
select = ["ALL"]
40-
ignore = ["N999", "ANN101", "ANN102", "ANN401", "PLR0913"]
39+
select = ["E4", "E7", "E9", "F"]
40+
ignore = [
41+
"N999", # ??
42+
"E211", # Whitespace before '('.
43+
"E501", # Line too long.
44+
"E731", # Do not assign a lambda expression, use a def.
45+
"D203",
46+
"D212",
47+
"ANN401",
48+
"PLR0913"
49+
]
50+
task-tags = ["FIXME", "TODO", "XXX"]
4151

4252
# Allow fix for all enabled rules (when `--fix`) is provided.
4353
fixable = ["ALL"]
@@ -57,4 +67,4 @@ indent-style = "space"
5767
skip-magic-trailing-comma = false
5868

5969
# Like Black, automatically detect the appropriate line ending.
60-
line-ending = "lf"
70+
line-ending = "lf"

0 commit comments

Comments
 (0)