-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
62 lines (51 loc) · 1.5 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
61
62
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm[toml]>=6.4.0"]
build-backend = "setuptools.build_meta"
[project]
name = "otaclient"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "LICENSE.md"}
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Operating System :: Unix",
"Programming Language :: Python :: 3",
]
dynamic = ["dependencies", "optional-dependencies", "version"]
[project.urls]
Source = "https://github.com/tier4/ota-client"
[tool.setuptools.dynamic]
dependencies = {file = ["otaclient/requirements.txt"]}
[tool.setuptools.dynamic.optional-dependencies]
test = {file = ["tests/requirements.txt"]}
[tool.setuptools.packages.find]
include = ["otaclient*"]
namespaces = false
[tool.setuptools_scm]
write_to = "otaclient/_version.py"
version_scheme = "post-release"
local_scheme = "no-local-version"
[tool.black]
line-length = 88
target-version = ['py38']
extend-exclude = '''(
(_pb2.pyi?|_pb2_grpc.pyi?)$
)'''
[tool.coverage.run]
branch = false
[tool.coverage.report]
omit = ["**/*_pb2.py*","**/*_pb2_grpc.py*"]
show_missing = true
[tool.pyright]
exclude = ["**/__pycache__"]
ignore = ["**/*_pb2.py*","**/*_pb2_grpc.py*"]
pythonVersion = "3.8"
[tool.pytest.ini_options]
addopts = "--cov=otaclient.app --cov=otaclient.ota_proxy"
asyncio_mode = "auto"
log_auto_indent = true
log_format = "%(asctime)s %(levelname)s %(filename)s %(funcName)s,%(lineno)d %(message)s"
log_cli = true
log_cli_level = "INFO"
pythonpath = ["otaclient"]
testpaths = ["./tests"]