Skip to content

Commit

Permalink
tox: run mypy against the minimum supported Python 3 minor version
Browse files Browse the repository at this point in the history
This ensures typing is right on Python 3 conditional branches.
Currently, we could have code that isn't compatible with Python 3 minor
version lower than Python 3.8. Running against the minimum supported
version ensures everything is checked correctly on older versions.

Signed-off-by: Filipe Laíns <lains@riseup.net>
  • Loading branch information
FFY00 committed Feb 13, 2021
1 parent 3b1db2c commit a9ba915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ commands =
description = run type check on code base
extras = typing
commands =
mypy --python-version 3.8 src/build
mypy --python-version 3.5 src/build
mypy --python-version 2.7 src/build

[testenv:docs]
Expand Down

0 comments on commit a9ba915

Please sign in to comment.