-
-
Notifications
You must be signed in to change notification settings - Fork 574
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
Import in one line if the import fits within the line-length #2230
Comments
Hi @andrew000! Could you please share what configuration of isort you use, if any? |
[tool.isort]
py_version = 311
src_paths = ["src"]
line_length = 120
multi_line_output = 3
force_grid_wrap = 0
include_trailing_comma = true
split_on_trailing_comma = true
single_line_exclusions = ["."]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"] |
Thank you! Let me know if there's anything else I can help with! |
It helped. Thank you very much) |
Is there a way to force isort to format such imports:
Into the following:
The text was updated successfully, but these errors were encountered: