Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrilJl authored Oct 23, 2024
1 parent 8315519 commit 66bb10c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/autopep8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ jobs:
- name: Run autopep8 on Python files
run: |
autopep8 --in-place --aggressive --aggressive --max-line-length 100 **/*.py
autopep8 --in-place --aggressive --aggressive --max-line-length 120 **/*.py
- name: Check for uncommitted changes
run: |
git config --global user.name "github-actions"
git config --global user.email "[email protected]"
git status
if [ -n "$(git status --porcelain)" ]; then
git add .
git add .
if git diff-index --quiet HEAD --; then
echo "No formatting changes required."
else
git commit -m "Auto-format Python code with autopep8"
git push
else
echo "No formatting changes required."
fi

0 comments on commit 66bb10c

Please sign in to comment.