Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! [WIP] pre-commit and ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
swrichards committed Jan 7, 2025
1 parent cc71280 commit b8faf1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
python-version: '3.11'

- name: Install pre-commit
run: pip install pre-commit
Expand All @@ -175,7 +172,7 @@ jobs:
run: |
echo "files=$(git diff --name-only origin/main...HEAD | tr '\n' ' ')" >> $GITHUB_OUTPUT
- name: Run pre-commit
- name: Run pre-commit on changed files
continue-on-error: true
run: |
pre-commit run --files ${{ steps.changed-files.outputs.files }}
2 changes: 1 addition & 1 deletion requirements/dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ django-silk
pytest-recording
vcrpy

pre-commit
pre-commit

0 comments on commit b8faf1e

Please sign in to comment.