Skip to content

Commit

Permalink
add pylint ruleset to ruff
Browse files Browse the repository at this point in the history
Signed-off-by: E3E <ntanzill@purdue.edu>
  • Loading branch information
NicholasTanz committed Feb 20, 2024
1 parent 73842c9 commit da38b47
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion tuf/ngclient/__init__.py
Expand Up @@ -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__,
Expand Down
2 changes: 1 addition & 1 deletion tuf/repository/__init__.py
Expand Up @@ -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

0 comments on commit da38b47

Please sign in to comment.