mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
In some cases, isort is not treating "plinth" module as a "first party" module. It is then treated as a "third party" module and groups with non-standard python libraries that we use. This behavior seems to dependent on from where isort is run. To eliminate this uncertainty, explicitly mark "plinth" module without depending on automatic detection of isort. The two preferred ways to provide the configuration are using .isort.cfg and pyproject.toml. The former introduces yet another file in the project directory while the latter, a new python PEP, promises to unify several other such configuration files. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
3 lines
44 B
TOML
3 lines
44 B
TOML
[tool.isort]
|
|
known_first_party = ["plinth"]
|