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
The CLI arguments for the sorter are nice, but there is no real reason to vary them within a project. It would make more sensor to safe these options to a project config file.
It could be a new TOML file, but there will always be a pyproject.toml too, so it makes sense to just add our config there.
We could also have a custom config file, e.g. tctools.toml, in case people don't place a pyproject.toml. The order of settings should then be read as:
tctools.toml
pyproject.toml
Other config, like .editorconfig for the formatter
To prevent confusion, options will not be merged. Instead only the first valid section is used.
The text was updated successfully, but these errors were encountered:
The CLI arguments for the sorter are nice, but there is no real reason to vary them within a project. It would make more sensor to safe these options to a project config file.
It could be a new TOML file, but there will always be a
pyproject.toml
too, so it makes sense to just add our config there.We could also have a custom config file, e.g.
tctools.toml
, in case people don't place apyproject.toml
. The order of settings should then be read as:tctools.toml
pyproject.toml
.editorconfig
for the formatterTo prevent confusion, options will not be merged. Instead only the first valid section is used.
The text was updated successfully, but these errors were encountered: