File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
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
10
14
11
15
disable_error_code =
12
16
# Disable due to many false positives
13
17
overload-overlap,
14
18
19
+ # # local
20
+
21
+ # CI should test for all versions, local development gets hints for oldest supported
22
+ # But our testing setup doesn't allow passing CLI arguments, so local devs have to set this manually.
23
+ # python_version = 3.8
24
+
15
25
exclude = (?x)(
16
26
# Avoid scanning Python files in generated folders
17
27
^build/
You can’t perform that action at this time.
0 commit comments