Skip to content

Commit 8e3bccf

Browse files
committed
Run Lint against multiple Python versions
1 parent 0e8bb72 commit 8e3bccf

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.github/workflows/lint.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,26 @@ concurrency:
1616
jobs:
1717
lint:
1818
runs-on: ubuntu-latest
19-
name: Lint
19+
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
python-version: [
24+
"3.14",
25+
"3.13",
26+
"3.12",
27+
"3.11",
28+
"3.10",
29+
]
30+
31+
name: Lint ${{ matrix.python-version }}
2032
steps:
2133
- uses: actions/checkout@v6
2234
with:
2335
persist-credentials: false
2436
- uses: actions/setup-python@v6
2537
with:
26-
python-version: "3.x"
38+
python-version: ${{ matrix.python-version }}
2739
- name: Install uv
2840
uses: astral-sh/setup-uv@v7
2941
- name: Lint

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ testpaths = [
214214
]
215215

216216
[tool.mypy]
217-
python_version = "3.10"
218217
pretty = true
219218
disallow_any_generics = true
220219
disallow_untyped_defs = true

0 commit comments

Comments
 (0)