Skip to content

Commit b2562da

Browse files
committed
Move mypy dependency to autoupdateable requirements file
1 parent c6455cf commit b2562da

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ repos:
2222
- id: debug-statements
2323
- id: end-of-file-fixer
2424
- id: forbid-submodules
25+
- id: requirements-txt-fixer
2526
- id: trailing-whitespace
2627
exclude: \.github/ISSUE_TEMPLATE\.md|\.github/PULL_REQUEST_TEMPLATE\.md
2728

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
mkdocs==1.6.1
2+
mkdocs-include-markdown-plugin
23
mkdocs-material
34
mkdocstrings[python]==0.27.0
4-
mkdocs-include-markdown-plugin
55
pygments
66
pymdown-extensions==10.14.3

requirements-mypy.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
mypy==1.15.0
2+
pytest
3+
types-freezegun
4+
types-setuptools

tox.ini

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@ commands =
4040

4141
[testenv:mypy]
4242
deps =
43-
mypy==1.12
44-
pytest
45-
types-freezegun
46-
types-setuptools
43+
-r requirements-mypy.txt
4744
commands =
4845
mypy . {posargs}
4946

0 commit comments

Comments
 (0)