Run Lint against multiple Python versions

This commit is contained in:
Andrew Murray 2026-01-30 23:32:22 +11:00
parent 0e8bb72a66
commit 8e3bccf597
2 changed files with 14 additions and 3 deletions

View File

@ -16,14 +16,26 @@ concurrency:
jobs:
lint:
runs-on: ubuntu-latest
name: Lint
strategy:
fail-fast: false
matrix:
python-version: [
"3.14",
"3.13",
"3.12",
"3.11",
"3.10",
]
name: Lint ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: actions/setup-python@v6
with:
python-version: "3.x"
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Lint

View File

@ -214,7 +214,6 @@ testpaths = [
]
[tool.mypy]
python_version = "3.10"
pretty = true
disallow_any_generics = true
disallow_untyped_defs = true