From 91b71ed24a6761b629768d0ad8829fec2819a966 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Sun, 7 Jan 2024 20:49:50 +0100 Subject: [PATCH] moved isort config --- pyproject.toml | 6 ++++++ setup.cfg | 5 ----- 2 files changed, 6 insertions(+), 5 deletions(-) delete mode 100644 setup.cfg diff --git a/pyproject.toml b/pyproject.toml index f3807470d3..b1d23d64bd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -79,3 +79,9 @@ source = "InvenTree" [tool.djlint] ignore = "D018,H006,H008,H020,H021,H023,H025,H030,H031,T002" + +[tool.isort] +src_paths=["InvenTree", ] +skip_glob ="*/migrations/*.py" +known_django="django" +sections=["FUTURE","STDLIB","DJANGO","THIRDPARTY","FIRSTPARTY","LOCALFOLDER"] diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index c6ce59a9e0..0000000000 --- a/setup.cfg +++ /dev/null @@ -1,5 +0,0 @@ -[isort] -src_paths=InvenTree -skip_glob =*/migrations/*.py -known_django=django -sections=FUTURE, STDLIB, DJANGO, THIRDPARTY, FIRSTPARTY, LOCALFOLDER