Skip to content

Commit da2bf71

Browse files
author
Tavian Barnes
committed
mypy: Run as part of CI
1 parent c63d5df commit da2bf71

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ steps:
2525
CFLAGS="-std=c++11" pip install pyicu
2626
pip install -e './python[test]'
2727
pip install -r ./docs/requirements.txt
28+
pip install pytest-azurepipelines
2829
displayName: 'Install dependencies'
2930

3031
- script: |
31-
pip install pytest-azurepipelines
32+
(cd ./python && mypy -p bistring)
3233
pytest
3334
make -C docs doctest
3435
displayName: 'pytest'

python/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
],
2626
extras_require={
2727
'test': [
28+
'mypy',
2829
'pytest',
2930
'regex',
3031
],

0 commit comments

Comments
 (0)