mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
add pylint ruleset to ruff
Signed-off-by: E3E <ntanzill@purdue.edu>
This commit is contained in:
parent
73842c97b8
commit
da38b473bd
3 changed files with 4 additions and 3 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
|
|
@ -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__,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue