🐛 Fix missing type in 3.9 #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Fix Python code style issues | |
on: | |
push: | |
paths: | |
- '**.py' | |
- 'pyproject.toml' | |
permissions: | |
contents: write | |
jobs: | |
python-code-styling: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Fix Python code style issues | |
uses: psf/black@stable | |
with: | |
options: "--config=pyproject.toml" | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Fix styling |