Skip to content

Commit

Permalink
Add precommit checks to quality flows to ensure they must pass before…
Browse files Browse the repository at this point in the history
… merging code in the event the developer doesn't have pre commit installed locally
  • Loading branch information
markurtz committed Aug 2, 2024
1 parent 331273c commit 8993515
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,16 @@ jobs:
run: pip install tox
- name: Run type checks
run: tox -e types

precommit-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.8"
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit checks
run: pre-commit run --all-files

0 comments on commit 8993515

Please sign in to comment.