Merge pull request #21 from PH-KDX/support-python-312 #38
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: Lint | |
on: [push, workflow_dispatch] | |
jobs: | |
# no need to set up a matrix for the lint | |
lint: | |
runs-on: ubuntu-latest | |
name: Lint | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v3 | |
- name: Set up Python environment | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.11" | |
- name: black | |
uses: psf/black@stable | |
with: | |
options: "--check --verbose" | |
src: "./src ./tests ./docs/source/conf.py" | |
- name: flake8 | |
uses: py-actions/flake8@v2 | |
with: | |
max-line-length: "88" # match limit set by black | |
args: "--extend-ignore E203" | |
flake8-version: "6.1.0" | |
- name: isort | |
uses: isort/isort-action@v1 |