diff --git a/mypy_self_check.ini b/mypy_self_check.ini index c52acb87f869..66f0f5845d85 100644 --- a/mypy_self_check.ini +++ b/mypy_self_check.ini @@ -1,16 +1,25 @@ [mypy] +python_version = 3.10 +exclude = mypy/typeshed/|mypyc/test-data/|mypyc/lib-rt/ + +# Options that affect type checking strict = True +allow_redefinition_new = True local_partial_types = True disallow_any_unimported = True -show_traceback = True -pretty = True -always_false = MYPYC -plugins = mypy.plugins.proper_plugin -python_version = 3.10 -exclude = mypy/typeshed/|mypyc/test-data/|mypyc/lib-rt/ +warn_unreachable = True enable_error_code = ignore-without-code,redundant-expr enable_incomplete_feature = PreciseTupleTypes + +# Plugins or custom behaviour +always_false = MYPYC +plugins = mypy.plugins.proper_plugin + +# Options that affect output +pretty = True show_error_code_links = True -warn_unreachable = True +show_traceback = True + +# Miscellaneous fixed_format_cache = True