Skip to content

Commit 46049c3

Browse files
committed
Add almost full E, W, and RUF rules
1 parent 43dcc72 commit 46049c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ target-version = "py311"
8585
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
8686
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
8787
# McCabe complexity (`C901`) by default.
88-
select = ["E4", "E7", "E9", "F", "I"]
89-
ignore = []
88+
select = ["E", "W", "F", "I", "RUF"]
89+
ignore = ["E501", "RUF012"]
9090

9191
# Allow fix for all enabled rules (when `--fix`) is provided.
9292
fixable = ["ALL"]

0 commit comments

Comments
 (0)