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

Commit

Permalink
.github/workflows/squad-client-utils-pipeline: Update to use pre-commit
Browse files Browse the repository at this point in the history
Update the CI pipeline for this repo to make use of pre-commit. This
way, pre-commit and the CI pipeline will stay aligned.

Signed-off-by: Katie Worton <[email protected]>
  • Loading branch information
katieworton authored and roxell committed May 8, 2024
1 parent 6b28b50 commit 56876c2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/squad-client-utils-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,9 @@ jobs:
- name: Install deps
run: |
python -m pip install --upgrade pip
pip install black flake8
pip install pre-commit
pre-commit install
- name: Linting
run: |
black --check --diff .
- name: flake8
run: |
flake8 --exclude=dist/ --ignore=E501,W503 . squad-*
pre-commit run --all-files --show-diff-on-failure

0 comments on commit 56876c2

Please sign in to comment.