From 9903e228253b952399aa77bb909d56e7a5ff615f Mon Sep 17 00:00:00 2001 From: Isaac Cheng <47993930+IsaacCheng9@users.noreply.github.com> Date: Tue, 25 Jun 2024 22:36:09 +0100 Subject: [PATCH] Add --fix arg to Ruff step --- .github/workflows/format.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 3508163..6ec1aca 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -15,7 +15,7 @@ jobs: - name: Run Python code formatting with Ruff uses: chartboost/ruff-action@main with: - args: "format --check --exclude src/trading_portfolio_tracker/ui" + args: "format --fix --check --exclude src/trading_portfolio_tracker/ui" - name: Commit changes made by Ruff uses: stefanzweifel/git-auto-commit-action@master