mirror of
https://github.com/python-pillow/Pillow.git
synced 2026-02-03 22:15:52 +03:00
enable the mypy's strict mode
This commit is contained in:
parent
6a5c588c5f
commit
0ac7ea2c85
|
|
@ -216,11 +216,10 @@ testpaths = [
|
|||
[tool.mypy]
|
||||
python_version = "3.10"
|
||||
pretty = true
|
||||
disallow_any_generics = true
|
||||
disallow_untyped_defs = true
|
||||
strict = true
|
||||
disallow_subclassing_any = false
|
||||
disallow_untyped_calls = false
|
||||
enable_error_code = "ignore-without-code"
|
||||
extra_checks = true
|
||||
follow_imports = "silent"
|
||||
warn_redundant_casts = true
|
||||
no_implicit_reexport = false
|
||||
warn_return_any = false
|
||||
warn_unreachable = true
|
||||
warn_unused_ignores = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user