ref: Add ruff rules for boolean trap (FBT) (#4126)

Add ruff rules for boolean trap (FBT)
This commit is contained in:
Christophe Bornet 2024-10-14 18:41:16 +02:00 • committed by GitHub
commit f5ffbc414b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
56 changed files with 158 additions and 102 deletions

View file

@ -58,7 +58,6 @@ ignore = [
# Rules that are TODOs
"ANN",
"D1", # Missing docstrings
"FBT",
"N",
"S",
"SLF",