summaryrefslogtreecommitdiff
path: root/server/pyproject.toml
diff options
context:
space:
mode:
authorShyam Sunder <sgsunder1@gmail.com>2020-06-05 18:03:37 -0400
committerShyam Sunder <sgsunder1@gmail.com>2020-06-06 08:58:23 -0400
commit57193b57157b7a42896c887a2d5930493ac7b290 (patch)
tree9555453a944caae64d8a00e4b073482d9e7fb244 /server/pyproject.toml
parentc06aaa63af977e64ef08bfba7829214f0f0ed38e (diff)
client+server: implement code autoformatting using prettier and black
Diffstat (limited to 'server/pyproject.toml')
-rw-r--r--server/pyproject.toml10
1 files changed, 10 insertions, 0 deletions
diff --git a/server/pyproject.toml b/server/pyproject.toml
new file mode 100644
index 0000000..ccf47fc
--- /dev/null
+++ b/server/pyproject.toml
@@ -0,0 +1,10 @@
+[tool.black]
+line-length = 79
+
+[tool.isort]
+known_first_party = ["szurubooru"]
+known_third_party = ["PIL", "alembic", "coloredlogs", "freezegun", "nacl", "numpy", "pyrfc3339", "pytest", "pytz", "sqlalchemy", "yaml", "youtube_dl"]
+multi_line_output = 3
+include_trailing_comma = true
+force_grid_wrap = 0
+use_parentheses = true