Skip to content

Commit

Permalink
update of pep8 action
Browse files Browse the repository at this point in the history
  • Loading branch information
technocreep committed May 17, 2024
1 parent a0ff806 commit 819f496
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pep8_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jobs:
uses: peter-evans/autopep8@v2
with:
args: --exit-code --recursive --in-place --aggressive --aggressive .
- name: Install autoflake
run: pip install autoflake
- name: Remove unused variables and imports
run: autoflake --in-place --remove-all-unused-imports --remove-unused-variables --recursive .
- name: Commit autopep8 changes
if: steps.autopep8.outputs.exit-code == 2
run: |
Expand Down

0 comments on commit 819f496

Please sign in to comment.