Debian Codegraph @

mypy.ini

raw
1 [mypy]
2 python_version = 3.13
3 plugins = pydantic.mypy
4 show_error_codes = true
5 local_partial_types = true
6 strict_equality = true
7 no_implicit_optional = true
8 warn_incomplete_stub = true
9 warn_redundant_casts = true
10 warn_unused_configs = true
11 warn_unused_ignores = true
12 enable_error_code = ignore-without-code, redundant-self, truthy-iterable
13 disable_error_code = annotation-unchecked
14 extra_checks = false
15 check_untyped_defs = true
16 disallow_incomplete_defs = true
17 disallow_subclassing_any = true
18 disallow_untyped_calls = true
19 disallow_untyped_decorators = true
20 disallow_untyped_defs = true
21 warn_return_any = true
22 warn_unreachable = true
23 # no_implicit_reexport = true
24 # disallow_any_generics = true
25
26 [pydantic-mypy]
27 init_forbid_extra = true
28 init_typed = true
29 warn_required_dynamic_aliases = true
30 warn_untyped_fields = true