Make this project use pyproject.toml and Setuptools to handle dependencies instead of setup.py #102
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: pull_request # yamllint disable-line | |
jobs: | |
# Thanks https://black.readthedocs.io/en/stable/integrations/github_actions.html | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v4 | |
- name: Set up Python environment | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: black Lint | |
uses: psf/[email protected] | |
- name: isort Lint | |
uses: isort/isort-action@v1 | |
with: | |
requirements-files: "pyproject.toml" | |
- name: flake8 Lint | |
uses: py-actions/flake8@v2 | |
# There are too many errors to start with to fail on this | |
continue-on-error: true | |
with: | |
plugins: "flake8-pyproject" |