add pylint ruleset to ruff

Signed-off-by: E3E <ntanzill@purdue.edu>
This commit is contained in:
E3E 2024-02-20 16:04:06 -05:00
parent 73842c97b8
commit da38b473bd
3 changed files with 4 additions and 3 deletions

View file

@ -87,8 +87,9 @@ select = [
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"PL", # pylint
]
ignore = ["D400","D415","D213","D205","D202","D107","D407","D413","D212","D104","D406","D105","D411","D401","D200","D203"]
ignore = ["D400","D415","D213","D205","D202","D107","D407","D413","D212","D104","D406","D105","D411","D401","D200","D203", "PLR0913", "PLR2004"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D", "E"]

View file

@ -15,7 +15,7 @@
from tuf.ngclient.fetcher import FetcherInterface
from tuf.ngclient.updater import Updater
__all__ = [
__all__ = [ # noqa: PLE0604
FetcherInterface.__name__,
RequestsFetcher.__name__,
TargetFile.__name__,

View file

@ -10,4 +10,4 @@
The repository module is not considered part of the stable python-tuf API yet.
"""
from tuf.repository._repository import AbortEdit, Repository # noqa: F401, I001
from tuf.repository._repository import AbortEdit, Repository # noqa: F401