-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmypy.ini
More file actions
33 lines (25 loc) · 735 Bytes
/
mypy.ini
File metadata and controls
33 lines (25 loc) · 735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[mypy]
plugins =
# sqlmypy,
pydantic.mypy
# returns.contrib.mypy.decorator_plugin
# follow_imports = silent
# follow_imports_for_stubs = True
# no_silence_site_packages = True
strict_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
disallow_any_generics = True
check_untyped_defs = True
no_implicit_optional = True
# for strict mypy: (this is the tricky one :-))
disallow_untyped_defs = True
[pydantic-mypy]
init_forbid_extra = True
init_typed = True
warn_required_dynamic_aliases = True
warn_untyped_fields = True
[mypy-nox.*,pytest.*,_pytest.*]
ignore_missing_imports = True
[mypy-blessings.*,bs4.*,httpx.*,prompt_toolkit.*,readchar.*,timefhuman.*,xdg.*,pip.*]
ignore_missing_imports = True