Skip to content

Commit

Permalink
🔧 Better explanation of ignored rules
Browse files Browse the repository at this point in the history
  • Loading branch information
jemrobinson committed Jul 27, 2023
1 parent c6b88cb commit 66138de
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,14 @@ select = [
"YTT", # flake8-2020
]
ignore = [
# Ignore line length
"E501",
# Ignore checks for possible passwords
"S105", "S106", "S107",
# Ignore not using absolute path in subprocess call
"S607",
# Allow subprocess without shell (less vulnerable than with shell)
"S603",
# Ignore complexity
"C901", "PLR0911", "PLR0912", "PLR0913", "PLR0915",
"E501", # ignore line length
"S106", # ignore check for possible passwords
"S603", # allow subprocess without shell=True
"S607", # allow subprocess without absolute path
"C901", # ignore complex-structure
"PLR0912", # ignore too-many-branches
"PLR0913", # ignore too-many-arguments
"PLR0915", # ignore too-many-statements
]

[tool.ruff.isort]
Expand Down

0 comments on commit 66138de

Please sign in to comment.