From 4083849b5dc4ce6ab78f3f3a4ff01ae6d497b6c7 Mon Sep 17 00:00:00 2001 From: PIG208 <359101898@qq.com> Date: Sat, 22 May 2021 01:39:45 +0800 Subject: [PATCH] lint: Configure Black. --- pyproject.toml | 4 ++++ requirements.txt | 1 + 2 files changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index b29d003..9908926 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,7 @@ +[tool.black] +line-length = 100 +target-version = ["py36"] + [tool.isort] src_paths = ["tools", "zulip", "zulip_bots", "zulip_botserver"] profile = "black" diff --git a/requirements.txt b/requirements.txt index 055dca1..2a06771 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,7 @@ crayons twine coverage>=4.4.1 +black isort flake8 mock