forked from ansible/ansible-lint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mypy.ini
52 lines (40 loc) · 1.12 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
[mypy]
python_version = 3.8
color_output = True
error_summary = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_any_generics = True
; disallow_any_unimported = True
; warn_redundant_casts = True
; warn_return_any = True
; warn_unused_configs = True
# site-packages is here to help vscode mypy integration getting confused
exclude = (build|dist|test/local-content|site-packages|~/.pyenv)
# 3rd party ignores
[mypy-ansible]
ignore_missing_imports = True
[mypy-ansible.*]
ignore_missing_imports = True
[mypy-flaky]
# # https://github.com/box/flaky/issues/170
ignore_missing_imports = True
[mypy-pytest]
ignore_missing_imports = True
[mypy-packaging.version]
ignore_missing_imports = True
[mypy-importlib_metadata]
ignore_missing_imports = True
[mypy-ruamel.*]
ignore_missing_imports = True
[mypy-setuptools]
ignore_missing_imports = True
[mypy-sphinx_ansible_theme]
ignore_missing_imports = True
[mypy-yamllint.*]
ignore_missing_imports = True
[mypy-wcmatch.*]
ignore_missing_imports = True
# This is generated by setuptools-scm, so is normal to be missing:
[mypy-ansiblelint._version]
ignore_missing_imports = True