Skip to content

Commit

Permalink
update black
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinL committed Jun 12, 2024
1 parent 6b5630d commit a34ef2c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/autoblack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,5 @@ jobs:
# short-circuit if we have no changes, otherwise attempt to commit and push
# should only fail on forks, in which case contributors will need to manually run black, commit, and push
git diff-index --quiet HEAD || (echo "Attempting to commit changes" && git commit -am 'lint with black' && git push -f)
- name: Run black --check .
run: |
source .venv/bin/activate
python3 -m black --check .
- name: Run black --check
run: poetry run black --check .

0 comments on commit a34ef2c

Please sign in to comment.