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
Using the VSCcode isort extension, the custom headings which I defined in my isort.cfg in the root of my repository are ignored.
The known_first_party modules from that file are recognized though and everything is moved to the correct section (without headings).
Using isort in the terminal, the correct headings as defined in my isort.cfg are applied.
When specifying this file in the isort.args using ["--settings-file", "xyz/.isort.cfg"] in my VSCode settings.json, the headings are applied.
My isort.cfg:
[settings]
default_section=THIRDPARTY
known_first_party=module_a, module_b
import_heading_future=Future
import_heading_stdlib=Standard Library
import_heading_thirdparty=Third party
import_heading_firstparty=First party
import_heading_localfolder=Local imports
lines_between_types=1
profile=black
The text was updated successfully, but these errors were encountered:
Using the VSCcode isort extension, the custom headings which I defined in my
isort.cfg
in the root of my repository are ignored.The
known_first_party
modules from that file are recognized though and everything is moved to the correct section (without headings).Using
isort
in the terminal, the correct headings as defined in myisort.cfg
are applied.When specifying this file in the
isort.args
using["--settings-file", "xyz/.isort.cfg"]
in my VSCodesettings.json
, the headings are applied.My
isort.cfg
:The text was updated successfully, but these errors were encountered: