diff --git a/.github/workflows/black-check.yaml b/.github/workflows/black-check.yaml index f550af6..630f6d0 100644 --- a/.github/workflows/black-check.yaml +++ b/.github/workflows/black-check.yaml @@ -25,7 +25,7 @@ jobs: run: | echo "Installing tools..." python -m pip install --upgrade pip - pip install black isort mypy + pip install black isort # Step 4: Run black and isort to format the code - name: Run Black and isort @@ -34,19 +34,12 @@ jobs: black . echo "Running isort..." isort . - - # Step 5: Run mypy for type checking - - name: Run mypy - run: | - echo "Running mypy for type checking..." - mypy . - + # Step 6: Commit and push changes if any files were modified - name: Commit and Push Changes env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - echo "Configuring git user..." git config --global user.name "github-actions[bot]" git config --global user.email "github-actions[bot]@users.noreply.github.com"