-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathmypy.ini
More file actions
44 lines (35 loc) · 1.12 KB
/
Copy pathmypy.ini
File metadata and controls
44 lines (35 loc) · 1.12 KB
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
[mypy]
# Is the project well-typed?
strict = False
# Early opt-in even when strict = False
warn_unused_ignores = True
warn_redundant_casts = True
enable_error_code = ignore-without-code
# Support namespace packages per https://github.com/python/mypy/issues/14057
explicit_package_bases = True
disable_error_code =
# Disable due to many false positives
overload-overlap,
# local
# Code that is too dynamic using variable command names;
# and code that uses platform checks mypy doesn't understand
attr-defined,
# These reveal issues in distutils/_modified.py that should be fixed
# https://github.com/pypa/distutils/issues/411
return-value,
type-var,
# TODO: Resolve and re-enable these gradually
operator,
arg-type,
allow_redefinition = true
# stdlib's test module is not typed on typeshed
[mypy-test.*]
ignore_missing_imports = True
# https://github.com/jaraco/jaraco.envs/issues/7
# https://github.com/jaraco/jaraco.envs/pull/8
[mypy-jaraco.envs.*]
ignore_missing_imports = True
# https://github.com/jaraco/jaraco.path/issues/2
# https://github.com/jaraco/jaraco.path/pull/7
[mypy-jaraco.path.*]
ignore_missing_imports = True