Skip to content

Commit

Permalink
ruff target-version in linter
Browse files Browse the repository at this point in the history
  • Loading branch information
abe-winter committed May 23, 2024
1 parent d245fe2 commit bf86f7a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
py_version: ["3.9", "3.10", "3.11"]
include:
- py_version: "3.9"
ruff_version: "py39"
- py_version: "3.10"
ruff_version: "py310"
- py_version: "3.11"
ruff_version: "py311"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -15,4 +21,4 @@ jobs:
- name: install
run: pip install ruff
- name: check
run: ruff check
run: ruff check --target-version ${{ matrix.ruff_version }}

0 comments on commit bf86f7a

Please sign in to comment.