File tree Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Original file line number Diff line number Diff line change 1
1
[mypy]
2
- # CI should test for all versions, local development gets hints for oldest supported
3
- # But our testing setup doesn't allow passing CLI arguments, so local devs have to set this manually.
4
- # python_version = 3.8
2
+ # # upstream
3
+
4
+ # Is the project well-typed?
5
5
strict = False
6
+
7
+ # Early opt-in even when strict = False
6
8
warn_unused_ignores = True
7
9
warn_redundant_casts = True
8
- # required to support namespace packages: https://github.com/python/mypy/issues/14057
10
+ enable_error_code = ignore-without-code
11
+
12
+ # Support namespace packages per https://github.com/python/mypy/issues/14057
9
13
explicit_package_bases = True
14
+
15
+ # Disable overload-overlap due to many false-positives
16
+ disable_error_code = overload-overlap
17
+
18
+ # # local
19
+
20
+ # CI should test for all versions, local development gets hints for oldest supported
21
+ # But our testing setup doesn't allow passing CLI arguments, so local devs have to set this manually.
22
+ # python_version = 3.8
23
+
10
24
exclude = (?x)(
11
25
# Avoid scanning Python files in generated folders
12
26
^build/
@@ -19,8 +33,6 @@ exclude = (?x)(
19
33
# Duplicate module name
20
34
| ^pkg_resources/tests/data/my-test-package-source/setup.py$
21
35
)
22
- # Too many false-positives
23
- disable_error_code = overload-overlap
24
36
25
37
# DistributionMetadata.license_files and DistributionMetadata.license_file
26
38
# are dynamically patched in setuptools/_core_metadata.py
You can’t perform that action at this time.
0 commit comments