From a17fbb3b55ed2b63d8c0f571e9f5ff37342380cd Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Thu, 4 Mar 2021 14:33:41 -0800 Subject: [PATCH] isort: Move configuration into pyproject.toml. Since we already have one for Black, this saves a top-level file. Signed-off-by: Anders Kaseorg --- .isort.cfg | 5 ----- pyproject.toml | 8 +++++++- 2 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .isort.cfg diff --git a/.isort.cfg b/.isort.cfg deleted file mode 100644 index 816bceb8e4..0000000000 --- a/.isort.cfg +++ /dev/null @@ -1,5 +0,0 @@ -[settings] -src_paths = ., tools, tools/setup/emoji -known_third_party = zulip -profile = black -line_length = 100 diff --git a/pyproject.toml b/pyproject.toml index 021cb23771..cfea661f79 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,9 @@ [tool.black] line-length = 100 -target-version = ['py36'] +target-version = ["py36"] + +[tool.isort] +src_paths = [".", "tools", "tools/setup/emoji"] +known_third_party = "zulip" +profile = "black" +line_length = 100