mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Suppress lint failures from Ruff 0.0.211 (#11086)
Ruff has added new SIM lints which sphinx has not implemented. This suppresses those lints (matching the flake8-simplify config).
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user