Skip to content

Commit

Permalink
Use mypy==1.3.0 for static typing checks
Browse files Browse the repository at this point in the history
  • Loading branch information
brunato committed Jun 17, 2023
1 parent 73564e2 commit 98e8afb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-elementpath.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Lint with mypy if Python version != 3.7
if: ${{ matrix.python-version != '3.7' }}
run: |
pip install mypy==1.2.0 xmlschema lxml-stubs
pip install mypy==1.3.0 xmlschema lxml-stubs
mypy --show-error-codes --strict elementpath
- name: Test with unittest
run: |
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# and then run "tox" from this directory.

[tox]
min_version = 4.0
envlist =
py{37,38,39,310,311,312}, pypy3, xmlschema{20},
docs, flake8, mypy-py{38,39,310,311,312,py3}, pytest, coverage
Expand Down Expand Up @@ -46,7 +47,7 @@ commands =

[testenv:mypy-py{38,39,310,311,312,py3}]
deps =
mypy==1.2.0
mypy==1.3.0
xmlschema
lxml-stubs
commands =
Expand Down

0 comments on commit 98e8afb

Please sign in to comment.