We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
isort version 5.12.0 Python version: 3.9.2
In the following example:
pyproject.toml
[tool.isort] py_version=39 profile="black" multi_line_output=2 line_length=50 force_alphabetical_sort_within_sections=true
test.py:
from datetime import datetime, time, timedelta, timezone, tzinfo
isort will generate code with a syntax error (the trailing comma after the last import):
from datetime import datetime, time, timedelta, \ timezone, tzinfo,
If I remove profile = "black" from the pyproject.toml file, the trailing comma is not present.
profile = "black"
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
isort version 5.12.0
Python version: 3.9.2
In the following example:
pyproject.toml
test.py:
isort will generate code with a syntax error (the trailing comma after the last import):
If I remove
profile = "black"
from the pyproject.toml file, the trailing comma is not present.The text was updated successfully, but these errors were encountered: