Skip to content

Commit

Permalink
Merge pull request #2 from alliander-opensource/fixed-python-version-…
Browse files Browse the repository at this point in the history
…for-ruff

Set a fixed python version for ruff.
  • Loading branch information
Jelmerdw authored Nov 1, 2024
2 parents b435850 + a4e7ddf commit 300eb6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
path: "rcdt_linting"
ref: "main"
- uses: actions/setup-python@v5
- run: pip install ruff --break-system-packages
with:
python-version: "3.10"
- run: pip install ruff
- run: ruff format --check main
- run: ruff check --config rcdt_linting/config/pyproject.toml main

Expand Down

0 comments on commit 300eb6e

Please sign in to comment.