Skip to content

Commit

Permalink
Add pylint rules in Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
mhostetter committed Feb 1, 2024
1 parent f929597 commit 4d7ab44
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,23 @@ select = [
"UP", # pyupgrade
"B", # flake8-bugbear
# "SIM",# flake8-simplify
"I", # isort
"I", # isort
"PL", # pylint
]
ignore = [
"E501", # line-too-long
"E713", # not-in-test
"E714", # not-is-test
"E741", # ambiguous-variable-name
"PLR0911", # too-many-return-statements
"PLR0912", # too-many-branches
"PLR0913", # too-many-arguments
"PLR0915", # too-many-statements
"PLR2004", # magic-value-comparison
"PLR5501", # collapsible-else-if
"PLW0603", # global-statement
"PLW2901", # redefined-loop-name
]
ignore = ["E501", "E713", "E714", "E741"]

[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "F403"]
Expand Down

0 comments on commit 4d7ab44

Please sign in to comment.