We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1975cd7 commit 9ef7aabCopy full SHA for 9ef7aab
.github/workflows/misc.yml
@@ -24,7 +24,7 @@ jobs:
24
matrix:
25
python-version: ["3.10"]
26
install: ['pip']
27
- check: ['style', 'doctest']
+ check: ['style', 'doctest', 'typing']
28
pip-flags: ['']
29
depends: ['REQUIREMENTS']
30
env:
pyproject.toml
@@ -68,6 +68,7 @@ test = [
68
"pytest-httpserver",
69
"pytest-xdist",
70
]
71
+typing = ["mypy"]
72
zstd = ["pyzstd >= 0.14.3"]
73
74
[tool.setuptools]
tools/ci/check.sh
@@ -25,6 +25,8 @@ elif [ "${CHECK_TYPE}" == "test" ]; then
cp ../.coveragerc .
pytest --doctest-modules --doctest-plus --cov nibabel --cov-report xml \
--junitxml=test-results.xml -v --pyargs nibabel -n auto
+elif [ "${CHECK_TYPE}" == "typing" ]; then
+ mypy nibabel
else
31
false
32
fi
0 commit comments