mirror of
https://github.com/python-pillow/Pillow.git
synced 2026-02-03 22:15:52 +03:00
enable the mypy "truthy-bool" error code
This commit is contained in:
parent
6a5c588c5f
commit
cafc329f40
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user