Skip to content

Commit

Permalink
Update to mypy v1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianeboyd committed Nov 20, 2023
1 parent b0e19da commit 311f111
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ jobs:
- name: Run mypy for Pydantic v2
run: |
python -m mypy confection
if: matrix.python_version != '3.6'
if: matrix.python_version != '3.6' and matrix.python_version != '3.7'

- name: Run mypy for Pydantic v1.10
run: |
python -m pip install -U pydantic==1.10.*
python -m mypy confection
if: matrix.python_version != '3.6'
if: matrix.python_version != '3.6' and matrix.python_version != '3.7'

- name: Delete source directory
run: rm -rf confection
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ srsly>=2.4.0,<3.0.0
catalogue>=2.0.3,<2.1.0
pathy>=0.3.5
pytest>=5.2.0,!=7.1.0
mypy>=0.980,<0.990; platform_machine != 'aarch64' and python_version >= '3.7'
mypy>=1.7.0,<1.8.0; platform_machine != 'aarch64' and python_version >= '3.8'
types-dataclasses>=0.1.3; python_version < '3.7'
numpy>=1.15.0
black>=22.0,<23.0
Expand Down

0 comments on commit 311f111

Please sign in to comment.