Skip to content

Commit 7794952

Browse files
committed
A couple more new rule ignores
1 parent 6450b7d commit 7794952

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ ignore = [
6363
"S101", # use of assert here is a known quantity, blame typing memes
6464
"S311", # Yes, I know that standard pseudo-random generators are not suitable for cryptographic purposes
6565
"SIM105", # supressable exception, I'm not paying the overhead of contextlib.supress for stylistic choices.
66+
"TC001", # I prefer to avoid if TYPE_CHECKING
67+
"TC002", # I prefer to avoid if TYPE_CHECKING
6668
"TC003", # I prefer to avoid if TYPE_CHECKING
6769
"UP007", # "Use | For Union" doesn't account for typevar tuple unpacking.
6870
"UP031", # No, I like % formatting more for some things...

0 commit comments

Comments
 (0)