Adding isort GHA and pre-commit hooks

This commit is contained in:
Martin Kristiansen
2023-08-18 08:51:07 -04:00
committed by Kent Keirsey
parent 77a4fabc66
commit fafa21569a
2 changed files with 9 additions and 4 deletions

View File

@ -1,6 +1,4 @@
name: style checks
# just formatting and flake8 for now
# TODO: add isort later
on:
pull_request:
@ -20,8 +18,8 @@ jobs:
- name: Install dependencies with pip
run: |
pip install black flake8 Flake8-pyproject
pip install black flake8 Flake8-pyproject isort
# - run: isort --check-only .
- run: isort --check-only .
- run: black --check .
- run: flake8