Skip to content

Commit

Permalink
🧪 Add a MyPy run against Python 3.13 code paths
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Aug 31, 2024
1 parent cbf0b9e commit 8aa3733
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,21 @@ repos:
- repo: https://github.com/pre-commit/mirrors-mypy.git
rev: v1.10.1
hooks:
- id: mypy
alias: mypy-py313
name: MyPy, for Python 3.13
additional_dependencies:
- lxml # dep of `--txt-report`, `--cobertura-xml-report` & `--html-report`
- multidict
- pytest
- tomli # requirement of packaging/pep517_backend/
- types-setuptools # requirement of packaging/pep517_backend/
args:
- --python-version=3.13
- --txt-report=.tox/.tmp/.mypy/python-3.13
- --cobertura-xml-report=.tox/.tmp/.mypy/python-3.13
- --html-report=.tox/.tmp/.mypy/python-3.13
pass_filenames: false
- id: mypy
alias: mypy-py312
name: MyPy, for Python 3.12
Expand Down

0 comments on commit 8aa3733

Please sign in to comment.