Skip to content

Commit 16b7e98

Browse files
edd2abtedd2abt
edd2abt
authored and
edd2abt
committed
Add rules and change default python version
1 parent 7f18dac commit 16b7e98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ruff.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ line-length = 88
3333
indent-width = 4
3434

3535
# Assume Python 3.9
36-
target-version = "py39"
36+
target-version = "py310"
3737

3838
[lint]
3939
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
4040
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
4141
# McCabe complexity (`C901`) by default.
42-
select = ["E4", "E7", "E9", "F"]
42+
select = ["C", "E", "F", "W", "B", "N"]
4343
ignore = ["F403"]
4444

4545
# Allow fix for all enabled rules (when `--fix`) is provided.

0 commit comments

Comments
 (0)