Skip to content

Commit

Permalink
Suppress lint failures from Ruff 0.0.211 (#11086)
Browse files Browse the repository at this point in the history
Ruff has added new SIM lints which sphinx has not implemented.

This suppresses those lints (matching the flake8-simplify config).
  • Loading branch information
danieleades committed Jan 5, 2023
1 parent 223bb31 commit 0479115
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Expand Up @@ -163,6 +163,10 @@ ignore = [
# flake8-bandit
"S101", # assert used
"S105", # possible hardcoded password
# flake8-simplify
"SIM102", # nested 'if' statements
"SIM105", # use contextlib.suppress
"SIM117", # use single 'with' statement
]
external = [ # Whitelist for RUF100 unkown code warnings
"E704",
Expand Down

0 comments on commit 0479115

Please sign in to comment.