From 5f44a191ba7b3386a0f79571f9c99db1014cd597 Mon Sep 17 00:00:00 2001 From: Politrees <143968312+Bebra777228@users.noreply.github.com> Date: Sun, 29 Dec 2024 01:43:15 +0500 Subject: [PATCH] Update code_formatter.yml --- .github/workflows/code_formatter.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/code_formatter.yml b/.github/workflows/code_formatter.yml index 4018b926c..bb44b59e6 100644 --- a/.github/workflows/code_formatter.yml +++ b/.github/workflows/code_formatter.yml @@ -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