Skip to content

Commit

Permalink
GitHub Action: Check code formatting with black
Browse files Browse the repository at this point in the history
  • Loading branch information
BerndDoser committed Sep 9, 2024
1 parent a511495 commit 3e0eba4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ jobs:
run: poetry install --no-interaction
if: steps.cache-deps.outputs.cache-hit != 'true'

- name: Check code formatting with black
run: poetry run black --check .

- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down

0 comments on commit 3e0eba4

Please sign in to comment.