Skip to content

Commit

Permalink
ci: run all pre-commit hooks instead of just black
Browse files Browse the repository at this point in the history
  • Loading branch information
joanise committed Dec 13, 2024
1 parent 7abda6f commit d28e070
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@ jobs:
curl http://127.0.0.1:8000/api/v1/langs | grep Cree
kill %1
- name: Nitpicking
- name: Make sure pre-commit hooks pass
uses: pre-commit/action@v3.0.1

- name: Minimalist license check
run: |
# coding style: we want black compliance
find . -name \*.py | xargs black --check
# Legal check: make sure we don't have or introduce GPL dependencies
if pip-licenses | grep -v 'Artistic License' | grep -v LGPL | grep GNU; then echo 'Please avoid introducing *GPL dependencies'; false; fi
Expand Down

0 comments on commit d28e070

Please sign in to comment.