Skip to content

Commit e285ff2

Browse files
committed
Add mypy to lint checks
We already have a few type annotations, it makes sense to lint with mypy.
1 parent a9b4794 commit e285ff2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ flake8
66
pretend
77
docker
88
pyelftools
9+
mypy

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ commands = pytest --doctest-modules auditwheel tests []
1010

1111
[testenv:lint]
1212
commands = flake8 auditwheel
13+
mypy auditwheel
1314

1415
[testenv:cov]
1516
commands = python -m pytest tests/unit --cov=auditwheel --cov-report=term-missing

0 commit comments

Comments
 (0)