-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmypy.ini
58 lines (51 loc) · 1.47 KB
/
mypy.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Mypy Configuration
#
# Mypy is a static type checker for Python.
#
# - Web site: http://www.mypy-lang.org/
# - Documentation: https://mypy.readthedocs.io/
[mypy]
# Comma-separated list of paths to search for module files after trying the paths from the
# MYPYPATH environment variable.
#
# Warning: Do not add a trailing comma to the last element.
mypy_path =
src
# Comma-separated list of paths which should be checked if none are given on the command line.
#
# Warning: Do not add a trailing comma to the last element.
files =
*.py,
src
# Regular expression that matches file names, directory names, and paths which should be ignored
# while recursively discovering files to check.
#
# Warning: Value is a regular expression, not a comma-separated list of patterns.
exclude = (^(build|pyenv|tmp|.*\.pyenv)/.*$)
# Comma-separated list of plugins.
#
# Warning: Do not add a trailing comma to the last element.
# plugins =
# example.mypy
check_untyped_defs = True
disallow_untyped_defs = True
error_summary = True
explicit_package_bases = True
follow_imports = normal
ignore_missing_imports = False
incremental = True
namespace_packages = True
no_implicit_optional = True
platform = linux
pretty = True
python_version = 3.9
show_column_numbers = False
show_error_codes = True
show_error_context = True
strict_optional = True
warn_redundant_casts = True
warn_return_any = True
warn_unused_configs = False
warn_unused_ignores = True
[mypy-setuptools.*]
ignore_missing_imports = True