Skip to content

Commit

Permalink
fix(cicd): generate correctly formatted ruff value for precommit (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson authored Aug 8, 2024
1 parent 6c6e95f commit 601ff91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Update Ruff version in .pre-commit-config.yaml
run: |
sed -i "s/rev: .* # ruff version/rev: ${{ env.RUFF_VERSION }} # ruff version/" ${{ env.PYTHON_TEMPLATE_LOCATION }}/.pre-commit-config.yaml
sed -i "s/rev: .* # ruff version/rev: v${{ env.RUFF_VERSION }} # ruff version/" ${{ env.PYTHON_TEMPLATE_LOCATION }}/.pre-commit-config.yaml
- name: Create new branch for changes
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
- id: detect-aws-credentials
args: [ --allow-missing-credentials ]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 0.5.0 # ruff version
rev: v0.5.0 # ruff version
hooks:
- id: ruff-format
- id: ruff
Expand Down

0 comments on commit 601ff91

Please sign in to comment.