sorted imports using isort and tried to add pre-commit hook for isort

This commit is contained in:
Tristan Lee
2023-08-07 20:04:16 -05:00
parent 1ec1d6190a
commit 1eb82c5f3e
23 changed files with 133 additions and 143 deletions

14
.github/workflows/lint.yml vendored Normal file
View File

@@ -0,0 +1,14 @@
name: Lint
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Run isort
- uses: actions/checkout@v3
- uses: isort/isort-action@v1
- name: Run black
- uses: actions/checkout@v3
- uses: psf/black@stable