More checks that are probably useful (doesn't trigger anything at the moment).

This commit is contained in:
Itamar Turner-Trauring 2023-04-17 13:08:26 -04:00
parent 5da5a82a8c
commit 2a4dcb7a27

View File

@ -9,6 +9,10 @@ select = [
# Make sure we bind closure variables in a loop (equivalent to pylint # Make sure we bind closure variables in a loop (equivalent to pylint
# cell-var-from-loop): # cell-var-from-loop):
"B023", "B023",
# Don't silence exceptions in finally by accident:
"B012",
# Don't use mutable default arguments: # Don't use mutable default arguments:
"B006", "B006",
# Errors from PyLint:
"PLE",
] ]