Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
Lint ghaction only runs ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Stoops committed Sep 10, 2024
1 parent e5b45b0 commit 00cba60
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,17 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install ruff
python -m pip install pre-commit
- name: format Python files
run: |
ruff format
ruff check --fix
- name: format all files
run: |
pre-commit run trailing-whitespace --all-files
pre-commit run end-of-file-fixer --all-files
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
message: Lint Python and C files
committer_name: GitHub Actions
committer_email: 41898282+github-actions[bot]@users.noreply.github.com
add: '*'
add: '*.py'

tox-checks:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 00cba60

Please sign in to comment.