Skip to content

Use both black and flake8 in linting, flake8 clean #1

Use both black and flake8 in linting, flake8 clean

Use both black and flake8 in linting, flake8 clean #1

Workflow file for this run

---
# Thanks https://black.readthedocs.io/en/stable/integrations/github_actions.html
name: Lint
on: [push, pull_request]
jobs:
black-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/[email protected]
flake8-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@v4
with:
python-version: "3.10"
- name: flake8 Lint
uses: py-actions/flake8@v2