Skip to content

Commit 195dbf0

Browse files
committed
MAINT: modernize ruff config
1 parent a34544d commit 195dbf0

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

pyproject.toml

+11-10
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@ filterwarnings = [
2121

2222

2323
[tool.ruff]
24-
# Enable Pyflakes `E` and `F` codes by default.
25-
select = ["E", "F"]
26-
ignore = []
27-
28-
# Allow autofix for all enabled rules (when `--fix`) is provided.
29-
# fixable = ["A", "B", "C", "D", "E", "F", "..."]
30-
# unfixable = []
31-
3224
# Exclude a variety of commonly ignored directories.
3325
exclude = [
3426
".eggs",
@@ -39,6 +31,15 @@ exclude = [
3931
"build",
4032
"dist",
4133
]
42-
per-file-ignores = {}
34+
line-length = 120
4335

44-
line-length = 120
36+
[tool.ruff.lint]
37+
# Enable Pyflakes `E` and `F` codes by default.
38+
select = ["E", "F"]
39+
ignore = []
40+
41+
# Allow autofix for all enabled rules (when `--fix`) is provided.
42+
# fixable = ["A", "B", "C", "D", "E", "F", "..."]
43+
# unfixable = []
44+
45+
per-file-ignores = {}

0 commit comments

Comments
 (0)