I’m facing a misinterpretation of first-party/thir...
# general
r
I’m facing a misinterpretation of first-party/third-party package categorization in Ruff import sorting when the name of the parent directory of the source tree is same to a third-party package name. This happens only when I run lint with specific patterns:
pants lint src/ai/backend/agent/kubernetes::
but not with these patterns:
pants lint ::
pants lint src/ai/backend/agent:src
pants lint src/ai/backend/agent::
pants lint src/ai/backend/agent/kubernetes/agent.py
Would be there any way to resolve this? The attached screenshot is how the “misinterpeting” case tries to fix, which is invalid.
1
Self-answer (digging out my old memory…): https://github.com/lablup/backend.ai/pull/5541/files
❤️ 1
🙏 1