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:
danieleades
2023-01-05 11:38:29 +00:00
committed by GitHub
parent 223bb317a7
commit 04791156db

View File

@@ -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",