Skip to content

Commit cafc329

Browse files
committed
enable the mypy "truthy-bool" error code
1 parent 6a5c588 commit cafc329

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ python_version = "3.10"
218218
pretty = true
219219
disallow_any_generics = true
220220
disallow_untyped_defs = true
221-
enable_error_code = "ignore-without-code"
221+
enable_error_code = [ "ignore-without-code", "truthy-bool" ]
222222
extra_checks = true
223223
follow_imports = "silent"
224224
warn_redundant_casts = true

0 commit comments

Comments
 (0)