-
Notifications
You must be signed in to change notification settings - Fork 2.2k
maint(precommit): Apply isort #3195
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool!
I'm obviously a fan. :) |
@@ -15,6 +15,10 @@ ignore = [ | |||
"noxfile.py", | |||
] | |||
|
|||
[tool.isort] | |||
known_first_party = "env,pybind11_cross_module_tests,pybind11_tests," |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Normally, these are autodetected, but it's a bit trickier in this project since the compiled modules don't live in the root, so we have to include any top level modules it might have missed (in tests)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about the confusion, multi_line_output is part of "black".
Description
Suggested changelog entry: