Skip to content

lint fix

lint fix #16

Workflow file for this run

name: Linters
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
lint:
name: Lint Code Base
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install black flake8 isort
- name: Format with Black
run: black .
- name: Sort imports with isort
run: isort .
- name: Run Flake8
run: flake8 . --max-line-length=88 --extend-ignore=E203