X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/117891878e5be4d6b771ae5de299e51b679cea27..680cbe3a4fef175e3b4cac32641134de79c5c0ce:/mypy.ini diff --git a/mypy.ini b/mypy.ini index cfceaa3..244e8ae 100644 --- a/mypy.ini +++ b/mypy.ini @@ -22,6 +22,7 @@ warn_no_return=True warn_redundant_casts=True warn_unused_ignores=True disallow_any_generics=True +no_implicit_optional=True # Unreachable blocks have been an issue when compiling mypyc, let's try # to avoid 'em in the first place. @@ -32,18 +33,7 @@ warn_unreachable=True disallow_untyped_defs=True check_untyped_defs=True -# No incremental mode -cache_dir=/dev/null - [mypy-black] # The following is because of `patch_click()`. Remove when # we drop Python 3.6 support. warn_unused_ignores=False - -[mypy-black_primer.*] -# Until we're not supporting 3.6 primer needs this -disallow_any_generics=False - -[mypy-tests.test_primer] -# Until we're not supporting 3.6 primer needs this -disallow_any_generics=False