]> 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:

Add --projects cli flag to black-primer (#2555)
[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 platform=linux
7
8 mypy_path=src
9
10 show_column_numbers=True
11
12 # show error messages from unrelated files
13 follow_imports=normal
14
15 # suppress errors about unsatisfied imports
16 ignore_missing_imports=True
17
18 # be strict
19 disallow_untyped_calls=True
20 warn_return_any=True
21 strict_optional=True
22 warn_no_return=True
23 warn_redundant_casts=True
24 warn_unused_ignores=True
25 disallow_any_generics=True
26
27 # The following are off by default.  Flip them on if you feel
28 # adventurous.
29 disallow_untyped_defs=True
30 check_untyped_defs=True
31
32 # No incremental mode
33 cache_dir=/dev/null
34
35 [mypy-black_primer.*]
36 # Until we're not supporting 3.6 primer needs this
37 disallow_any_generics=False
38
39 [mypy-tests.test_primer]
40 # Until we're not supporting 3.6 primer needs this
41 disallow_any_generics=False