Skip to content

Commit 7dfade2

Browse files
committed
Enable --allow-redefinition-new on self check
1 parent 0cc21d9 commit 7dfade2

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

mypy_self_check.ini

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,25 @@
11
[mypy]
22

3+
python_version = 3.10
4+
exclude = mypy/typeshed/|mypyc/test-data/|mypyc/lib-rt/
5+
6+
# Options that affect type checking
37
strict = True
8+
allow_redefinition_new = True
49
local_partial_types = True
510
disallow_any_unimported = True
6-
show_traceback = True
7-
pretty = True
8-
always_false = MYPYC
9-
plugins = mypy.plugins.proper_plugin
10-
python_version = 3.10
11-
exclude = mypy/typeshed/|mypyc/test-data/|mypyc/lib-rt/
11+
warn_unreachable = True
1212
enable_error_code = ignore-without-code,redundant-expr
1313
enable_incomplete_feature = PreciseTupleTypes
14+
15+
# Plugins or custom behaviour
16+
always_false = MYPYC
17+
plugins = mypy.plugins.proper_plugin
18+
19+
# Options that affect output
20+
pretty = True
1421
show_error_code_links = True
15-
warn_unreachable = True
22+
show_traceback = True
23+
24+
# Miscellaneous
1625
fixed_format_cache = True

0 commit comments

Comments
 (0)