Hi
I have an isort settings in pyproject.toml that looks like follow:
[tool.isort]
sections = "FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
line_length = 120
known_first_party = "libName"
case_sensitive = true
quiet = true
and using isort in python script (together with autopep) to format the code: isort.file(path_to_file). When isort finds that something needs to be reformatted in a file it prints: "Fixing path_to_file". So it does not respect the configuration from toml. In order to fix that I need to pass the custom Config instance to file method but this overwrites all the settings from toml. Wha is strange is that isort run from command line properly handles this quiet in toml and does not prints "Fixing...."
I am using python 3.6.8 and isort 5.5.0
Hi
I have an isort settings in pyproject.toml that looks like follow:
and using isort in python script (together with autopep) to format the code:
isort.file(path_to_file). When isort finds that something needs to be reformatted in a file it prints: "Fixing path_to_file". So it does not respect the configuration from toml. In order to fix that I need to pass the customConfiginstance tofilemethod but this overwrites all the settings from toml. Wha is strange is that isort run from command line properly handles this quiet in toml and does not prints "Fixing...."I am using python 3.6.8 and isort 5.5.0