]> git.madduck.net Git - etc/vim.git/blob - mypy.ini

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Remove usage of Pipenv, rely on good ol' `pip` and `virtualenv` in docs (#2717)
[etc/vim.git] / mypy.ini
1 [mypy]
2 # Specify the target platform details in config, so your developers are
3 # free to run mypy on Windows, Linux, or macOS and get consistent
4 # results.
5 python_version=3.6
6
7 mypy_path=src
8
9 show_column_numbers=True
10
11 # show error messages from unrelated files
12 follow_imports=normal
13
14 # suppress errors about unsatisfied imports
15 ignore_missing_imports=True
16
17 # be strict
18 disallow_untyped_calls=True
19 warn_return_any=True
20 strict_optional=True
21 warn_no_return=True
22 warn_redundant_casts=True
23 warn_unused_ignores=True
24 disallow_any_generics=True
25
26 # Unreachable blocks have been an issue when compiling mypyc, let's try
27 # to avoid 'em in the first place.
28 warn_unreachable=True
29
30 # The following are off by default.  Flip them on if you feel
31 # adventurous.
32 disallow_untyped_defs=True
33 check_untyped_defs=True
34
35 # No incremental mode
36 cache_dir=/dev/null
37
38 [mypy-black]
39 # The following is because of `patch_click()`. Remove when
40 # we drop Python 3.6 support.
41 warn_unused_ignores=False
42
43 [mypy-black_primer.*]
44 # Until we're not supporting 3.6 primer needs this
45 disallow_any_generics=False
46
47 [mypy-tests.test_primer]
48 # Until we're not supporting 3.6 primer needs this
49 disallow_any_generics=False