You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[settings]
# This must match the line length for `black` in pyproject.toml.
line_length=100
# We also want imports in __init__.py sorted.
not_skip=__init__.py
# Two blank lines between the imports and the rest of the code.
# This is a subjective preference.
lines_after_imports=2
# These are necessary for `isort` to create import statements that are
# compatible with `black`. Changing these will break our auto-formatting.
# See <https://black.readthedocs.io/en/stable/the_black_code_style.html>.
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
combine_as_imports=True
And I'm not sure what Black was doing at the time of the above change but at least now it definitely seems to be inserting a trailing comma in this situation (python 3.7.2, black 18.9b0).
long.py
.isort.cfg:
I expected this to leave the file unchanged, preserving the trailing comma.
isort 4.3.4 works as expected. 4.3.5 through 4.3.8 all behave as above.
The text was updated successfully, but these errors were encountered: