Skip to content

Commit 00b1f5d

Browse files
committed
ci: Ensure mypy is run with Python 3.8
Because mypy needs to parse not just our code but also the code of the libraries our code depends upon, we can't reliably run mypy in a Python 3.10 environment and tell it to check our code for Python 3.8 type correctness, because we might install a version of one of our dependencies with Python 3.10 syntax in it that mypy will fail to parse. Signed-off-by: Matt Wozniski <mwozniski@bloomberg.net>
1 parent 044529f commit 00b1f5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ commands =
4848

4949
[testenv:lint]
5050
description = lint code in {basepython}
51-
basepython = python3.10
51+
basepython = python3.8
5252
extras =
5353
lint
5454
commands =

0 commit comments

Comments
 (0)