Skip to content

Commit d35e5f3

Browse files
Update ruff rules/exclusions
1 parent 1abf1a4 commit d35e5f3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pyproject.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ ruff = "^0.0.269"
4444
select = ["E", "F"]
4545
ignore = []
4646
# Skip unused variable rules
47-
extend-ignore = ["D203", "E203", "E251", "E266", "E302", "E305", "E401", "E402", "E501", "F401", "F403", "W503"]
47+
extend-ignore = ["D203", "E203", "E251", "E266", "E401", "E402", "E501", "F401", "F403", "F405"]
4848

4949
# Allow autofix for all enabled rules (when `--fix`) is provided.
5050
fixable = ["A", "B", "C", "D", "E", "F", "G", "I", "N", "Q", "S", "T", "W", "ANN", "ARG", "BLE", "COM", "DJ", "DTZ", "EM", "ERA", "EXE", "FBT", "ICN", "INP", "ISC", "NPY", "PD", "PGH", "PIE", "PL", "PT", "PTH", "PYI", "RET", "RSE", "RUF", "SIM", "SLF", "TCH", "TID", "TRY", "UP", "YTT"]
@@ -86,10 +86,6 @@ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
8686
# Assume Python 3.11.
8787
target-version = "py311"
8888

89-
[tool.ruff.isort]
90-
atomic = true
91-
skip_gitignore = true
92-
9389
[tool.ruff.mccabe]
9490
# Unlike Flake8, default to a complexity level of 10.
9591
max-complexity = 10

0 commit comments

Comments
 (0)