Skip to content

Merge pull request #137 from Nerixyz/chore/more-linting #65

Merge pull request #137 from Nerixyz/chore/more-linting

Merge pull request #137 from Nerixyz/chore/more-linting #65

Workflow file for this run

name: black
on:
push:
paths:
- '**.py'
defaults:
run:
shell: bash
jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install black
run: |
python -m pip install --upgrade pip
pip install black
- name: Version
run: |
python --version
black --version
- name: Run black
run: |
black .
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Apply black changes"