Skip to content

Commit da38b47

Browse files
committed
add pylint ruleset to ruff
Signed-off-by: E3E <ntanzill@purdue.edu>
1 parent 73842c9 commit da38b47

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ select = [
8787
"F", # pyflakes
8888
"I", # isort
8989
"N", # pep8-naming
90+
"PL", # pylint
9091
]
91-
ignore = ["D400","D415","D213","D205","D202","D107","D407","D413","D212","D104","D406","D105","D411","D401","D200","D203"]
92+
ignore = ["D400","D415","D213","D205","D202","D107","D407","D413","D212","D104","D406","D105","D411","D401","D200","D203", "PLR0913", "PLR2004"]
9293

9394
[tool.ruff.lint.per-file-ignores]
9495
"tests/*" = ["D", "E"]

tuf/ngclient/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from tuf.ngclient.fetcher import FetcherInterface
1616
from tuf.ngclient.updater import Updater
1717

18-
__all__ = [
18+
__all__ = [ # noqa: PLE0604
1919
FetcherInterface.__name__,
2020
RequestsFetcher.__name__,
2121
TargetFile.__name__,

tuf/repository/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
The repository module is not considered part of the stable python-tuf API yet.
1111
"""
1212

13-
from tuf.repository._repository import AbortEdit, Repository # noqa: F401, I001
13+
from tuf.repository._repository import AbortEdit, Repository # noqa: F401

0 commit comments

Comments
 (0)