compiler: Run isort on compiled code (#355)

This commit is contained in:
Arun Babu Neelicattu
2022-03-18 23:29:42 +01:00
committed by GitHub
parent 70310c9e8c
commit 1aaf7728cc
4 changed files with 39 additions and 8 deletions

View File

@@ -18,6 +18,7 @@ dataclasses = { version = "^0.7", python = ">=3.6, <3.7" }
grpclib = "^0.4.1"
jinja2 = { version = ">=2.11.2", optional = true }
python-dateutil = "^2.8"
isort = {version = "^5.10.1", optional = true}
[tool.poetry.dev-dependencies]
asv = "^0.4.2"
@@ -42,7 +43,7 @@ pre-commit = "^2.17.0"
protoc-gen-python_betterproto = "betterproto.plugin:main"
[tool.poetry.extras]
compiler = ["black", "jinja2"]
compiler = ["black", "isort", "jinja2"]
# Dev workflow tasks