lint: Configure Black.

This commit is contained in:
PIG208 2021-05-22 01:39:45 +08:00 committed by Tim Abbott
parent 74c99ac405
commit 4083849b5d
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
[tool.black]
line-length = 100
target-version = ["py36"]
[tool.isort] [tool.isort]
src_paths = ["tools", "zulip", "zulip_bots", "zulip_botserver"] src_paths = ["tools", "zulip", "zulip_bots", "zulip_botserver"]
profile = "black" profile = "black"

View file

@ -1,6 +1,7 @@
crayons crayons
twine twine
coverage>=4.4.1 coverage>=4.4.1
black
isort isort
flake8 flake8
mock mock