diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml deleted file mode 100644 index 3470336..0000000 --- a/.github/workflows/black.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: black - -on: - push: - -jobs: - formatter: - name: formatter - runs-on: ubuntu-latest - strategy: - matrix: - python-version: [3.8.14] - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - name: Install Poetry - run: | - curl -sSL https://install.python-poetry.org/ | python - - name: Add path for Poetry - run: echo "$HOME/.poetry/bin" >> $GITHUB_PATH - - name: Install Dependencies - run: poetry install --no-interaction - - name: black - run: poetry run black . - - name: autoflake - run: poetry run autoflake -r . - - uses: stefanzweifel/git-auto-commit-action@v3.0.0 - with: - commit_message: Apply Code Formatter Change - ref: ${{ github.head_ref }} \ No newline at end of file