-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
41 lines (39 loc) · 1008 Bytes
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[build-system]
# Part of the installation process is the generation of Python code from protobuf/gRPC definitions.
# For that we need to have `grpcio-tools` around *before* `setup.py` is executed. The version number of `grpcio-tools`
# should match that of `grpcio` in `setup.cfg`. Actual code generation is done from within `setup.py` in a custom
# Command class.
requires = [
"setuptools>=65.5.0",
"wheel",
"grpcio-tools==1.70.0",
"mypy-protobuf",
"bandit==1.7.10",
]
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 120
forced_separate = "supa"
skip = ["venv", "src/supa/grpc_nsi"]
default_section = "THIRDPARTY"
[tool.black]
line-length = 120
target-version = ["py38"]
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| venv
| src/supa/grpc_nsi
| build
)/
)
'''