diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5429a7353..c3ed4e3a7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -83,18 +83,60 @@ repos: rev: v0.991 hooks: - id: mypy - alias: mypy-py38 - name: MyPy, for Python 3.8 + alias: mypy-py313 + name: MyPy, for Python 3.13 additional_dependencies: - lxml # dep of `--txt-report`, `--cobertura-xml-report` & `--html-report` - pytest args: - --install-types - --non-interactive - - --python-version=3.8 - - --txt-report=.tox/.tmp/.mypy/python-3.8 - - --cobertura-xml-report=.tox/.tmp/.mypy/python-3.8 - - --html-report=.tox/.tmp/.mypy/python-3.8 + - --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-py311 + name: MyPy, for Python 3.11 + additional_dependencies: + - lxml # dep of `--txt-report`, `--cobertura-xml-report` & `--html-report` + - pytest + args: + - --install-types + - --non-interactive + - --python-version=3.11 + - --txt-report=.tox/.tmp/.mypy/python-3.11 + - --cobertura-xml-report=.tox/.tmp/.mypy/python-3.11 + - --html-report=.tox/.tmp/.mypy/python-3.11 + pass_filenames: false + - id: mypy + alias: mypy-py39 + name: MyPy, for Python 3.9 + additional_dependencies: + - lxml # dep of `--txt-report`, `--cobertura-xml-report` & `--html-report` + - pytest + args: + - --install-types + - --non-interactive + - --python-version=3.9 + - --txt-report=.tox/.tmp/.mypy/python-3.9 + - --cobertura-xml-report=.tox/.tmp/.mypy/python-3.9 + - --html-report=.tox/.tmp/.mypy/python-3.9 + pass_filenames: false + - id: mypy + alias: mypy-py37 + name: MyPy, for Python 3.7 + additional_dependencies: + - lxml # dep of `--txt-report`, `--cobertura-xml-report` & `--html-report` + - pytest + args: + - --install-types + - --non-interactive + - --python-version=3.7 + - --txt-report=.tox/.tmp/.mypy/python-3.7 + - --cobertura-xml-report=.tox/.tmp/.mypy/python-3.7 + - --html-report=.tox/.tmp/.mypy/python-3.7 pass_filenames: false ...