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

@@ -16,6 +16,9 @@ from typing import {% for i in output_file.typing_imports|sort %}{{ i }}{% if no
import betterproto
from betterproto.grpc.grpclib_server import ServiceBase
{% for i in output_file.imports|sort %}
{{ i }}
{% endfor %}
{% if output_file.services %}
import grpclib
{% endif %}
@@ -216,7 +219,3 @@ class {{ service.py_name }}Base(ServiceBase):
}
{% endfor %}
{% for i in output_file.imports|sort %}
{{ i }}
{% endfor %}