-
Notifications
You must be signed in to change notification settings - Fork 51
/
mypy.ini
72 lines (51 loc) · 1.42 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[mypy]
disallow_any_generics=True
disallow_incomplete_defs=True
disallow_untyped_defs=True
namespace_packages=True
no_implicit_optional=True
show_error_codes=True
warn_no_return=True
warn_redundant_casts=True
warn_return_any=True
warn_unreachable=True
warn_unused_configs=True
warn_unused_ignores=True
plugins=mypy_zope:plugin
# The following modules are currently only partially annotated:
[mypy-pydoctor.test.test_napoleon_docstring]
disallow_untyped_defs=False
[mypy-pydoctor.test.test_napoleon_iterators]
disallow_untyped_defs=False
# The following external libraries don't support annotations (yet):
[mypy-appdirs.*]
ignore_missing_imports=True
[mypy-astor.*]
ignore_missing_imports=True
[mypy-bs4.*]
ignore_missing_imports=True
[mypy-cachecontrol.*]
ignore_missing_imports=True
[mypy-configargparse.*]
ignore_missing_imports=True
[mypy-cython_test_exception_raiser.*]
ignore_missing_imports=True
[mypy-incremental.*]
ignore_missing_imports=True
[mypy-lunr.*]
ignore_missing_imports=True
[mypy-urllib3.*]
ignore_missing_imports=True
[mypy-pydoctor.epydoc.sre_parse36]
ignore_errors=True
[mypy-pydoctor.epydoc.sre_constants36]
ignore_errors=True
# Don't check the C3 lineartization code
[mypy-pydoctor.mro.*]
ignore_errors=True
# Don't check our test data:
[mypy-pydoctor.test.testpackages.*]
ignore_errors=True
# The following external library doesn't exist (it's used in the demo):
[mypy-somelib.*]
ignore_missing_imports=True