Skip to content

Commit

Permalink
fix(linting): attempt by changing ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
nythepegasus committed Jan 10, 2025
1 parent 53eaeee commit 2f4d0eb
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,22 @@ exclude = [
line-length = 120
indent-width = 4

target-version = "py311"
target-version = "py312"

[lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
select = ["ALL"]
ignore = ["N999", "ANN101", "ANN102", "ANN401", "PLR0913"]
select = ["E4", "E7", "E9", "F"]
ignore = [
"N999", # ??
"E211", # Whitespace before '('.
"E501", # Line too long.
"E731", # Do not assign a lambda expression, use a def.
"D203",
"D212",
"ANN401",
"PLR0913"
]
task-tags = ["FIXME", "TODO", "XXX"]

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

# Like Black, automatically detect the appropriate line ending.
line-ending = "lf"
line-ending = "lf"

0 comments on commit 2f4d0eb

Please sign in to comment.