-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
split mypy requirements to its own file
- Loading branch information
Showing
2 changed files
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,6 @@ | ||
# requirements for code style; linters, code analysis and formatting tools | ||
invoke==2.2.0 | ||
black==24.2.0 | ||
mypy==1.9.0 | ||
isort==5.13.2 | ||
ruff==0.3.2 | ||
|
||
# The following are for mypy | ||
# some version of pytest required for checking types. Perhaps any recent | ||
# version of pytest will do. | ||
pytest | ||
types-colorama | ||
time-machine==2.14.0 | ||
-r requirements-mypy.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# mypy 1.9.0 only supports Python 3.8+ | ||
mypy==1.9.0; python_version>='3.8' | ||
# Last mypy version to support Python 3.7 | ||
mypy==1.4.1; python_version=='3.7' | ||
|
||
|
||
# The following installs are for mypy. | ||
pytest -c requirements-test.txt | ||
|
||
types-colorama | ||
types-colorama==0.4.15.12; python_version>='3.7' | ||
|
||
time-machine==2.14.0; python_version>='3.8' | ||
# Last time-machine version to support Python 3.7 | ||
time-machine==2.10.0; python_version>='3.8' |