Join Slack
Communities
Powered by
I’m seeing an issue with black & isort, where ...
# general
m
melodic-thailand-99227
01/05/2022, 12:54 PM
I’m seeing an issue with black & isort, where isort changes it’s mind on what is considered first party vs third party. Can pants help isort with this configuration?
b
bitter-ability-32190
01/05/2022, 12:55 PM
Does this help?
https://www.pantsbuild.org/v2.9/docs/python-linters-and-formatters#isort-possible-issues-with-its-import-classifier-algorithm
m
melodic-thailand-99227
01/05/2022, 1:00 PM
I saw this, but I was hoping that pants can help isort know what are my first party packages. Since they will live in the same repo
🙌 1
h
happy-kitchen-89482
01/05/2022, 1:26 PM
I.e., to generate isort config from Pants config, since Pants already knows how to tell firstparty from thirdparty? That's a good idea!
b
bitter-ability-32190
01/05/2022, 1:28 PM
Oh yeah, that'd be ideal!
4
Views
Open in Slack
Previous
Next