Skip to content

Commit 34abe1d

Browse files
authored
Update pyproject.toml for ruff rules
1 parent 6db4a92 commit 34abe1d

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

pyproject.toml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,24 @@ profile = "black"
66

77
[tool.ruff]
88
line-length = 120
9-
lint.ignore = [
10-
"E501", # line-too-long
11-
"D100", # Missing docstring in public module
12-
"D105", # undocumented-magic-method
13-
]
14-
# On top of the defaults (E, F), enable pydocstyle (D) and isort (I).
15-
lint.select = ["E", "F", "D", "I"]
169
exclude = [
1710
".venv",
1811
"__pypackages__",
1912
"build",
2013
"dist",
2114
"venv",
22-
"tests",
15+
# "tests",
2316
]
2417

18+
[tool.ruff.lint]
19+
ignore = [
20+
"E501", # line-too-long
21+
"D100", # Missing docstring in public module
22+
"D105", # undocumented-magic-method
23+
]
24+
# On top of the defaults (E, F), enable pydocstyle (D) and isort (I).
25+
select = ["E", "F", "D", "I"]
26+
27+
2528
[tool.ruff.lint.pydocstyle]
2629
convention = "numpy"

0 commit comments

Comments
 (0)