Skip to content

Commit

Permalink
Update code_formatter.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Bebra777228 authored Dec 28, 2024
1 parent b4a5711 commit 5f44a19
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/code_formatter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install Black
run: pip install "black[jupyter]"
- name: Install Black and autoflake
run: pip install "black[jupyter]" autoflake

- name: Run autoflake
run: autoflake --in-place --recursive .

- name: Run Black
# run: black $(git ls-files '*.py')
run: black . --exclude=".*\.ipynb$"

- name: Commit Back
Expand Down

0 comments on commit 5f44a19

Please sign in to comment.