Skip to content

Conversation

@rwe
Copy link
Contributor

@rwe rwe commented Jan 11, 2022

Note that pylint already depends on isort.

Using it makes import sorting unambiguous and automatic, which helps reduce cognitive load merging various branches in this codebase.

It was a little ambiguous whether it should be in the "lint" or "format" tox command, or another one altogether. It's included in "lint" here, because pylint already uses isort internally to catch coarse-grained "wrong-import-order" warnings.

This also updates the contributing.rst which referred to some incorrect tox commands.

@rwe rwe marked this pull request as ready for review January 11, 2022 01:56
@rwe
Copy link
Contributor Author

rwe commented Feb 5, 2022

I'll go push up a rebase of this today or tomorrow, since it's in conflict from recent merges.

rwe added 2 commits February 5, 2022 20:25
Note that `pylint` already depends on `isort`. Using it makes import
sorting unambiguous and automatic.

It's a little ambiguous whether it should be in the "lint" or "format"
tox command, or another one altogether. It's included in "lint" here,
because pylint already uses isort internally to catch coarse-grained
"wrong-import-order" warnings.
@mystor
Copy link
Owner

mystor commented Aug 13, 2022

Apologies for the massive delay in looking at this, and thanks for the changes! This looks great :-)

@mystor mystor merged commit 5a10920 into mystor:main Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants