Skip to content

Commit

Permalink
build: add mypy requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
mariajgrimaldi committed Jan 13, 2025
1 parent fb8b6ab commit 03ef552
Show file tree
Hide file tree
Showing 6 changed files with 92 additions and 5 deletions.
25 changes: 24 additions & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ asgiref==3.8.1
# via
# -r requirements/quality.txt
# django
# django-stubs
astroid==3.3.8
# via
# -r requirements/quality.txt
Expand Down Expand Up @@ -86,6 +87,14 @@ django==4.2.17
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/quality.txt
# django-stubs
# django-stubs-ext
django-stubs==5.1.1
# via -r requirements/quality.txt
django-stubs-ext==5.1.1
# via
# -r requirements/quality.txt
# django-stubs
dnspython==2.7.0
# via
# -r requirements/quality.txt
Expand Down Expand Up @@ -166,6 +175,12 @@ more-itertools==10.5.0
# -r requirements/quality.txt
# jaraco-classes
# jaraco-functools
mypy==1.14.1
# via -r requirements/quality.txt
mypy-extensions==1.0.0
# via
# -r requirements/quality.txt
# mypy
nh3==0.2.20
# via
# -r requirements/quality.txt
Expand Down Expand Up @@ -322,12 +337,20 @@ tox==4.23.2
# via -r requirements/ci.txt
twine==6.0.1
# via -r requirements/quality.txt
types-pyyaml==6.0.12.20241230
# via
# -r requirements/quality.txt
# django-stubs
typing-extensions==4.12.2
# via
# -r requirements/quality.txt
# django-stubs
# django-stubs-ext
# edx-opaque-keys
urllib3==2.3.0
# mypy
urllib3==2.2.3
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/quality.txt
# requests
# twine
Expand Down
27 changes: 25 additions & 2 deletions requirements/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ asgiref==3.8.1
# via
# -r requirements/test.txt
# django
# django-stubs
babel==2.16.0
# via
# pydata-sphinx-theme
Expand Down Expand Up @@ -53,6 +54,14 @@ django==4.2.17
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/test.txt
# django-stubs
# django-stubs-ext
django-stubs==5.1.1
# via -r requirements/test.txt
django-stubs-ext==5.1.1
# via
# -r requirements/test.txt
# django-stubs
dnspython==2.7.0
# via
# -r requirements/test.txt
Expand Down Expand Up @@ -111,6 +120,12 @@ more-itertools==10.5.0
# via
# jaraco-classes
# jaraco-functools
mypy==1.14.1
# via -r requirements/test.txt
mypy-extensions==1.0.0
# via
# -r requirements/test.txt
# mypy
nh3==0.2.20
# via readme-renderer
packaging==24.2
Expand Down Expand Up @@ -238,19 +253,27 @@ text-unidecode==1.3
# python-slugify
twine==6.0.1
# via -r requirements/doc.in
types-pyyaml==6.0.12.20241230
# via
# -r requirements/test.txt
# django-stubs
typing-extensions==4.12.2
# via
# -r requirements/test.txt
# anyio
# django-stubs
# django-stubs-ext
# edx-opaque-keys
# mypy
# pydata-sphinx-theme
urllib3==2.3.0
urllib3==2.2.3
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# requests
# twine
uvicorn==0.34.0
# via sphinx-autobuild
watchfiles==1.0.3
watchfiles==1.0.4
# via sphinx-autobuild
websockets==14.1
# via sphinx-autobuild
Expand Down
2 changes: 1 addition & 1 deletion requirements/pip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ pip==24.2
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/pip.in
setuptools==75.7.0
setuptools==75.8.0
# via -r requirements/pip.in
25 changes: 24 additions & 1 deletion requirements/quality.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ asgiref==3.8.1
# via
# -r requirements/test.txt
# django
# django-stubs
astroid==3.3.8
# via
# pylint
Expand Down Expand Up @@ -46,6 +47,14 @@ django==4.2.17
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/test.txt
# django-stubs
# django-stubs-ext
django-stubs==5.1.1
# via -r requirements/test.txt
django-stubs-ext==5.1.1
# via
# -r requirements/test.txt
# django-stubs
dnspython==2.7.0
# via
# -r requirements/test.txt
Expand Down Expand Up @@ -98,6 +107,12 @@ more-itertools==10.5.0
# via
# jaraco-classes
# jaraco-functools
mypy==1.14.1
# via -r requirements/test.txt
mypy-extensions==1.0.0
# via
# -r requirements/test.txt
# mypy
nh3==0.2.20
# via readme-renderer
packaging==24.2
Expand Down Expand Up @@ -197,12 +212,20 @@ tomlkit==0.13.2
# via pylint
twine==6.0.1
# via -r requirements/quality.in
types-pyyaml==6.0.12.20241230
# via
# -r requirements/test.txt
# django-stubs
typing-extensions==4.12.2
# via
# -r requirements/test.txt
# django-stubs
# django-stubs-ext
# edx-opaque-keys
urllib3==2.3.0
# mypy
urllib3==2.2.3
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# requests
# twine
zipp==3.21.0
Expand Down
2 changes: 2 additions & 0 deletions requirements/test.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ ddt # A library to multiply test cases
pytest-cov # pytest extension for code coverage statistics
pytest-django # pytest extension for better Django support
code-annotations # provides commands used by the pii_check make target.
django-stubs # Typing stubs for Django, so it works with mypy
mypy # static type checking
16 changes: 16 additions & 0 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ asgiref==3.8.1
# via
# -r requirements/base.txt
# django
# django-stubs
click==8.1.8
# via code-annotations
code-annotations==2.1.0
Expand All @@ -20,6 +21,12 @@ django==4.2.17
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/base.txt
# django-stubs
# django-stubs-ext
django-stubs==5.1.1
# via -r requirements/test.in
django-stubs-ext==5.1.1
# via django-stubs
dnspython==2.7.0
# via
# -r requirements/base.txt
Expand All @@ -32,6 +39,10 @@ jinja2==3.1.5
# via code-annotations
markupsafe==3.0.2
# via jinja2
mypy==1.14.1
# via -r requirements/test.in
mypy-extensions==1.0.0
# via mypy
packaging==24.2
# via pytest
pbr==6.1.0
Expand Down Expand Up @@ -67,7 +78,12 @@ stevedore==5.4.0
# edx-opaque-keys
text-unidecode==1.3
# via python-slugify
types-pyyaml==6.0.12.20241230
# via django-stubs
typing-extensions==4.12.2
# via
# -r requirements/base.txt
# django-stubs
# django-stubs-ext
# edx-opaque-keys
# mypy

0 comments on commit 03ef552

Please sign in to comment.