Skip to content

Commit

Permalink
Merge pull request #356 from ribetm/fix_ruff_version
Browse files Browse the repository at this point in the history
Get ruff version from pyproject for CI
  • Loading branch information
ribetm authored Jan 14, 2025
2 parents b2ad6b1 + c47db1b commit 78308c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install Ruff
run: pip install ruff
run: pip install $(grep -Po '(?<=")ruff[^"]+' pyproject.toml)
- name: Ruff linter
run: ruff check
ruff_formatter:
Expand All @@ -53,6 +53,6 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install Ruff
run: pip install ruff
run: pip install $(grep -Po '(?<=")ruff[^"]+' pyproject.toml)
- name: Ruff formatter
run: ruff format --diff

0 comments on commit 78308c5

Please sign in to comment.