-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong-import-order fails on one system, passes in other #8845
Comments
Thanks. Can you also provide $PATH? That's usually the source of discrepancies like this. |
I don't understand how the "Bad" machine:
"Good" machine:
|
Bad machine = CircleCI job https://app.circleci.com/pipelines/github/kedro-org/kedro/24429/workflows/0abf7a3a-ee7a-43a1-a8e8-4211e0e58447/jobs/282191 Good machine = Any other machine, tested on both my local macOS and a Gitpod instance https://github.com/kedro-org/kedro/tree/dev/fix-requirements-take-2 |
Thanks for the additional details. |
So, pylint uses isort under the hood? That's interesting, because we're running |
Pylint might be doing additional patching of sys.path, see #5226. |
Will keep this open for investigation. A fast workaround would be to add 'build' to known third party packages (on mobile, don't have the exact wording of the config option name). |
Bug description
In one system
pylint
is perfectly fine, but in another it's complaining about import order.Configuration
Configuration is identical in both systems:
Command used
Pylint output
Expected behavior
Pylint version
OS / Environment
Ubuntu 22.04 in both cases
Additional dependencies
"Bad" machine:
"Good" machine:
The text was updated successfully, but these errors were encountered: