2024-02-09 13:44:47 +00:00
|
|
|
[mypy]
|
2024-02-13 15:59:39 +00:00
|
|
|
show_error_codes = True
|
|
|
|
|
follow_imports = silent
|
|
|
|
|
local_partial_types = true
|
|
|
|
|
strict_equality = true
|
|
|
|
|
no_implicit_optional = true
|
|
|
|
|
warn_incomplete_stub = true
|
|
|
|
|
warn_redundant_casts = true
|
|
|
|
|
warn_unused_configs = true
|
|
|
|
|
warn_unused_ignores = true
|
|
|
|
|
enable_error_code = ignore-without-code, redundant-self, truthy-iterable
|
|
|
|
|
disable_error_code = annotation-unchecked, import-not-found, import-untyped, type-arg, no-any-unimported
|
|
|
|
|
extra_checks = false
|
|
|
|
|
check_untyped_defs = true
|
|
|
|
|
disallow_incomplete_defs = true
|
|
|
|
|
disallow_subclassing_any = true
|
|
|
|
|
disallow_untyped_calls = true
|
|
|
|
|
disallow_untyped_decorators = true
|
|
|
|
|
disallow_untyped_defs = true
|
|
|
|
|
warn_return_any = true
|
|
|
|
|
warn_unreachable = true
|
|
|
|
|
allow_redefinition = false
|
|
|
|
|
strict_optional = true
|
|
|
|
|
|
|
|
|
|
[mypy-magika.*]
|
|
|
|
|
ignore_missing_imports = true
|
|
|
|
|
no_implicit_reexport = true
|
|
|
|
|
disallow_untyped_calls = true
|
|
|
|
|
disallow_any_unimported = true
|
|
|
|
|
disallow_untyped_decorators = true
|
|
|
|
|
strict = true
|
|
|
|
|
enable_error_code = ignore-without-code, redundant-self, truthy-iterable, possibly-undefined, truthy-bool, truthy-iterable, unused-ignore, mutable-override
|
|
|
|
|
|
2024-02-13 19:42:01 +00:00
|
|
|
[mypy-magika.strenum.*]
|
|
|
|
|
ignore_errors = True
|
|
|
|
|
|
2024-02-13 15:59:39 +00:00
|
|
|
[mypy-tests.*]
|
|
|
|
|
disallow_untyped_defs = false
|
|
|
|
|
disallow_untyped_calls = false
|
|
|
|
|
disallow_untyped_decorators = false
|