mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-05 06:01:36 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user