-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
60 lines (46 loc) · 1.44 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[project]
name = "ubo-rpc-client-betterproto"
version = "0.0.0"
description = "A demo gRPC client for UBO using betterproto"
license = { text = "Apache-2.0" }
authors = [{ name = "Sassan Haradji", email = "me@sassanh.com" }]
maintainers = [{ name = "Sassan Haradji", email = "me@sassanh.com" }]
readme = "README.md"
requires-python = ">=3.11"
keywords = ["gRPC", "betterproto", "ubo", "Python"]
dependencies = ["betterproto [compiler] >=2.0.0b7"]
[tool.uv]
dev-dependencies = ["poethepoet >=0.24.4", "grpcio-tools >=1.66.1"]
[project.scripts]
main = "client:main"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "_version.py"
[tool.hatch.version.raw-options]
local_scheme = "setup_scm_schemes:local_scheme"
[tool.hatch.build]
packages = ["."]
[tool.hatch.build.targets.sdist]
packages = ["."]
[tool.poe.tasks]
"compile" = "sh -c 'mkdir -p generated && python -m grpc_tools.protoc -I ../../proto/ --python_betterproto_opt=typing.310 --python_betterproto_out=generated/ ../../proto/store/v1/store.proto'"
"start" = "uv run main"
[tool.ruff]
target-version = 'py311'
[tool.ruff.lint]
select = ["ALL"]
fixable = ["ALL"]
unfixable = []
ignore = ['D', 'T201']
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
inline-quotes = "single"
multiline-quotes = "double"
[tool.ruff.format]
quote-style = "single"
[tool.isort]
profile = "black"