maint(precommit): Apply isort (#3195)

* Apply isort

* Tweak isort config

* Add env.py as a known_first_party

* Add one missing known first party

* Make config compat with older isort versions

* Add another comment

* Revert pyproject setting
This commit is contained in:
Aaron Gokaslan
2021-08-13 12:37:05 -04:00
committed by GitHub
parent d6841f60cc
commit 9df2f1ff13
45 changed files with 73 additions and 67 deletions

View File

@@ -35,6 +35,11 @@ repos:
hooks:
- id: pyupgrade
- repo: https://github.com/PyCQA/isort
rev: 5.9.3
hooks:
- id: isort
# Black, the code formatter, natively supports pre-commit
- repo: https://github.com/psf/black
rev: 21.7b0