Skip to content

Commit bf86f7a

Browse files
committed
ruff target-version in linter
1 parent d245fe2 commit bf86f7a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/lint.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@ jobs:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
py_version: ["3.9", "3.10", "3.11"]
9+
include:
10+
- py_version: "3.9"
11+
ruff_version: "py39"
12+
- py_version: "3.10"
13+
ruff_version: "py310"
14+
- py_version: "3.11"
15+
ruff_version: "py311"
1016
steps:
1117
- uses: actions/checkout@v4
1218
- uses: actions/setup-python@v5
@@ -15,4 +21,4 @@ jobs:
1521
- name: install
1622
run: pip install ruff
1723
- name: check
18-
run: ruff check
24+
run: ruff check --target-version ${{ matrix.ruff_version }}

0 commit comments

Comments
 (0)