forked from verloop/twirpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
62 lines (55 loc) · 1014 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[build-system]
requires = [
"hatchling",
"hatch-semver"
]
build-backend = "hatchling.build"
[project]
name = "twirpy"
dynamic = ["version"]
description = "Twirp runtime library for Python"
readme = "README.md"
requires-python = ">=3.10"
license = "BSD-3-Clause"
keywords = [
"protobuf",
"rpc",
"twirp",
]
dependencies = [
"protobuf",
"requests",
"structlog",
]
[project.urls]
repository = "https://github.com/cryptact/twirpy"
[project.optional-dependencies]
async = [
"aiohttp",
]
[tool.hatch.version]
path = "twirp/__init__.py"
validate-bump = true
scheme = "semver"
[tool.hatch.build.targets.sdist]
include = ["/twirp"]
[tool.hatch.build.targets.wheel]
packages = ["twirp"]
[tool.hatch.envs.default]
python = "3.12"
dependencies = [
"aiohttp",
]
[tool.ruff]
line-length = 120
lint.select = [
"F", # pyflakes
"PLE", # pylint errors
"UP", # pyupgrade
]
lint.fixable = [
"F", # pyflakes
"PLE", # pylint errors
"UP", # pyupgrade
]
exclude = ["example/rpc"]