Skip to content

Commit

Permalink
split mypy requirements to its own file
Browse files Browse the repository at this point in the history
  • Loading branch information
fohrloop committed Apr 21, 2024
1 parent e59c503 commit 09057d4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
9 changes: 1 addition & 8 deletions requirements/requirements-check.txt
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
15 changes: 15 additions & 0 deletions requirements/requirements-mypy.txt
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'

0 comments on commit 09057d4

Please sign in to comment.