Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Fix import formatting #104

Merged
merged 1 commit into from
Mar 4, 2022
Merged

Fix import formatting #104

merged 1 commit into from
Mar 4, 2022

Conversation

samueljsb
Copy link
Owner

@samueljsb samueljsb commented Mar 4, 2022

Prior to this change, pre-commit started messing up the import sorting
with isort. It appears to have been picking up the configuration from
configfiles/.editorconfig instead of setup.cfg.

It appears that this is related to PyCQA/isort#1872 and
PyCQA/isort#1907.

This change explicitly sets the settings file to ensure the right file
is used.

We also fix the incorrect imports.

@samueljsb samueljsb force-pushed the fix-isort branch 3 times, most recently from 01178bb to 981b20c Compare March 4, 2022 21:05
Prior to this change, pre-commit started messing up the import sorting
with isort. It appears to have been picking up the configuration from
`configfiles/.editorconfig` instead of `setup.cfg`.

It appears that this is related to PyCQA/isort#1872 and
PyCQA/isort#1907.

This change explicitly sets the settings file to ensure the right file
is used.

We also fix the incorrect imports.
@samueljsb samueljsb merged commit df5cb5a into main Mar 4, 2022
@samueljsb samueljsb deleted the fix-isort branch March 4, 2022 21:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant