forked from ietf-tools/bibxml-service
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmypy.ini
46 lines (34 loc) · 818 Bytes
/
mypy.ini
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
34
35
36
37
38
39
40
41
42
43
44
45
46
[mypy]
plugins = pydantic.mypy
warn_redundant_casts = True
warn_unused_ignores = True
disallow_any_generics = True
check_untyped_defs = True
no_implicit_reexport = True
show_error_codes = true
show_error_context = true
strict_equality = true
strict_optional = true
# Too strict
# disallow_untyped_defs = True
# Too relaxed?
# follow_imports = silent
[pydantic-mypy]
init_forbid_extra = True
init_typed = True
warn_required_dynamic_aliases = True
warn_untyped_fields = True
[mypy-crossref.*]
ignore_missing_imports = True
[mypy-requests_oauthlib.*]
ignore_missing_imports = True
[mypy-django.*]
ignore_missing_imports = True
[mypy-celery.*]
ignore_missing_imports = True
[mypy-lxml.*]
ignore_missing_imports = True
[mypy-deepmerge.*]
ignore_missing_imports = True
[mypy-*.migrations.*]
ignore_errors = True