File tree Expand file tree Collapse file tree 4 files changed +17
-0
lines changed Expand file tree Collapse file tree 4 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ include doc/source/_templates/piwik.html
6
6
include doc/Makefile
7
7
include tox.ini
8
8
include .flake8
9
+ include mypy.ini
9
10
include Makefile
10
11
include README.rst CONTRIBUTING.rst CHANGELOG.rst
11
12
include MANIFEST.in
Original file line number Diff line number Diff line change
1
+ [mypy]
2
+ # XXX: goal is to turn it on
3
+ strict = False
4
+ check_untyped_defs = True
5
+ show_error_codes = True
6
+
7
+ [mypy-pytest.*]
8
+ ignore_missing_imports = True
9
+
10
+ [mypy-salt.*]
11
+ ignore_missing_imports = True
12
+
13
+ [mypy-winrm.*]
14
+ ignore_missing_imports = True
Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ tornado<5
6
6
salt
7
7
pywinrm
8
8
ansible>=3,<4
9
+ mypy
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ description = Runs unittests
10
10
deps =
11
11
-rtest-requirements.txt
12
12
commands =
13
+ {envpython} -m mypy testinfra test
13
14
{envpython} -m pytest {posargs:-v -n 4 --cov testinfra --cov-report xml --cov-report term test}
14
15
usedevelop =True
15
16
passenv =HOME TRAVIS DOCKER_CERT_PATH DOCKER_HOST DOCKER_TLS_VERIFY WSL_DISTRO_NAME
You can’t perform that action at this time.
0 commit comments