-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathmypy.ini
87 lines (62 loc) · 1.62 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[mypy]
mypy_path = parsec/stubs
namespace_packages = True
explicit_package_bases = True
python_version = 3.9
ignore_errors = False
show_error_codes=True
warn_unused_ignores=True
plugins = trio_typing.plugin
# Global configuration
strict_optional = True
strict_equality = True
allow_redefinition = True
no_implicit_optional = True
disallow_untyped_defs = True
disallow_any_unimported = True
disallow_any_decorated = True
disallow_any_generics = True
disallow_subclassing_any = True
disallow_incomplete_defs = True
ignore_missing_imports = False
# Per-module customization
[mypy-parsec.core.mountpoint.winfsp_operations]
# On non-windows platform a lot of types from winfspy will be resolved as `Any`
allow_any_decorated = True
allow_any_unimported = True
[mypy-parsec.core.mountpoint.winfsp_runner]
allow_any_decorated = True
allow_any_unimported = True
# 3rd party libraries with missing typing
[mypy-pbr.*]
ignore_missing_imports = True
[mypy-swiftclient.*]
ignore_missing_imports = True
[mypy-fuse]
ignore_missing_imports = True
[mypy-winfspy.*]
ignore_missing_imports = True
# Ignore any python files not in the parsec module
[mypy-tests.*]
ignore_errors = True
[mypy-tests.common.freeze_time]
ignore_errors = False
[mypy-oxidation.*]
ignore_errors = True
[mypy-misc.*]
ignore_errors = True
[mypy-misc.releaser]
ignore_errors = False
[mypy-misc.version_updater]
ignore_errors = False
[mypy-packaging.*]
ignore_errors = True
[mypy-docs.*]
ignore_errors = True
[mypy-build.*]
ignore_errors = True
# Ignore UI generated files
[mypy-parsec.core.gui.ui.*]
ignore_errors = True
[mypy-parsec.core.gui._resources_rc]
ignore_errors = True