Skip to content

Commit 38ae87a

Browse files
committed
Disable truthy-iterable by default
1 parent 23d5401 commit 38ae87a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mypy/errorcodes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ def __str__(self) -> str:
164164
"truthy-iterable",
165165
"Warn about Iterable expressions that could always evaluate to true in boolean contexts",
166166
"General",
167+
default_enabled=False,
167168
)
168169
NAME_MATCH: Final = ErrorCode(
169170
"name-match", "Check that type definition has consistent naming", "General"

0 commit comments

Comments
 (0)