File tree Expand file tree Collapse file tree 1 file changed +8
-18
lines changed Expand file tree Collapse file tree 1 file changed +8
-18
lines changed Original file line number Diff line number Diff line change 11[mypy]
22files = Tools/peg_generator/pegen
33pretty = True
4+ show_traceback = True
45
5- follow_imports = error
6- no_implicit_optional = True
7- strict_optional = True
8-
9- # check_untyped_defs = True
10- disallow_untyped_calls = True
11- disallow_untyped_defs = True
12-
13- disallow_any_generics = true
14- disallow_any_unimported = True
15- disallow_incomplete_defs = True
16- disallow_subclassing_any = True
6+ # Make sure the peg_generator can be run using Python 3.10:
7+ python_version = 3.10
178
18- warn_unused_configs = True
19- warn_unused_ignores = true
20- warn_redundant_casts = true
21- warn_no_return = True
9+ # Be strict...
10+ strict = True
2211
23- show_traceback = True
24- show_error_codes = True
12+ # except for a few settings that can't yet be enabled:
13+ warn_return_any = False
14+ no_implicit_reexport = False
2515
2616[mypy-pegen.grammar_parser]
2717strict_optional = False
You can’t perform that action at this time.
0 commit comments