Fix isort findings #3
Workflow file for this run
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: Python Code Style | |
on: | |
pull_request: | |
paths: | |
- "pyproject.toml" | |
- "**.py" | |
push: | |
paths: | |
- "pyproject.toml" | |
- "**.py" | |
jobs: | |
code-style-checks: | |
name: Python Code Style Checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout commit | |
uses: actions/[email protected] | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Check imports | |
uses: isort/[email protected] | |
- name: Check formatting | |
uses: psf/black@stable | |
- name: Setup flake8 annotations | |
uses: rbialon/flake8-annotations@v1 | |
- name: Linting (flake8) | |
uses: py-actions/[email protected] |