enable the mypy "truthy-bool" error code

This commit is contained in:
jorenham 2026-01-27 11:29:39 +01:00
parent 6a5c588c5f
commit cafc329f40
No known key found for this signature in database

View File

@ -218,7 +218,7 @@ python_version = "3.10"
pretty = true
disallow_any_generics = true
disallow_untyped_defs = true
enable_error_code = "ignore-without-code"
enable_error_code = [ "ignore-without-code", "truthy-bool" ]
extra_checks = true
follow_imports = "silent"
warn_redundant_casts = true