Skip to content

Commit 67fa35d

Browse files
committed
Apply ruff pyflakes rules to control library only
1 parent 5ba2ad5 commit 67fa35d

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,14 @@ filterwarnings = [
5757
"error:.*matrix subclass:PendingDeprecationWarning",
5858
]
5959

60-
[tool.ruff.lint]
61-
select = ['D', 'E', 'W', 'DOC']
60+
[tool.ruff]
61+
62+
# TODO: expand to cover all code
63+
include = ['control/**.py']
64+
exclude = ['control/tests/*.py']
6265

63-
[tool.ruff.lint.pydocstyle]
64-
convention = 'numpy'
66+
[tool.ruff.lint]
67+
select = [
68+
'F', # pyflakes
69+
# todo: add more as needed
70+
]

0 commit comments

Comments
 (0)