From 8e3bccf597a9c8981aa5f4b1c3bc44d7ee6b49d1 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Fri, 30 Jan 2026 23:32:22 +1100 Subject: [PATCH] Run Lint against multiple Python versions --- .github/workflows/lint.yml | 16 ++++++++++++++-- pyproject.toml | 1 - 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e2f8bf47a..b60182d08 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index cc616bc54..82428974c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -214,7 +214,6 @@ testpaths = [ ] [tool.mypy] -python_version = "3.10" pretty = true disallow_any_generics = true disallow_untyped_defs = true