Skip to content

Fix.

Fix. #52

Workflow file for this run

name: "Black and Flake8"
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: |
pyproject.toml
- name: Lint using black
uses: psf/black@stable
- name: Install flake8
run: |
pip install flake8 Flake8-pyproject
- name: Lint with flake8
run: |
flake8 . --count --show-source --statistics