forked from google/avatar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
95 lines (80 loc) · 1.97 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[project]
name = "pandora-avatar"
authors = [{name = "Pandora", email = "[email protected]"}]
readme = "README.md"
dynamic = ["version", "description"]
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: Apache Software License"
]
dependencies = [
"bt-test-interfaces>=0.0.4",
"bumble>=0.0.186",
"protobuf==4.24.2",
"grpcio==1.57",
"mobly==1.12.2",
"portpicker>=1.5.2",
]
[project.urls]
Source = "https://github.com/google/avatar"
[project.scripts]
avatar = "avatar:main"
[project.optional-dependencies]
dev = [
"rootcanal==1.10.0",
"grpcio-tools>=1.57",
"pyright==1.1.298",
"mypy==1.5.1",
"black==23.7.0",
"isort==5.12.0",
"types-psutil==5.9.5.16",
"types-setuptools==68.1.0.1",
"types-protobuf==4.24.0.1"
]
[tool.flit.module]
name = "avatar"
[tool.flit.sdist]
include = ["doc/"]
[tool.black]
line-length = 119
target-version = ["py38", "py39", "py310", "py311"]
skip-string-normalization = true
[tool.isort]
profile = "black"
line_length = 119
no_sections = true
lines_between_types = 1
force_single_line = true
single_line_exclusions = ["typing", "typing_extensions", "collections.abc"]
[tool.pyright]
include = ["avatar"]
exclude = ["**/__pycache__", "**/*_pb2.py"]
typeCheckingMode = "strict"
useLibraryCodeForTypes = true
verboseOutput = false
reportMissingTypeStubs = false
reportUnknownLambdaType = false
reportImportCycles = false
reportPrivateUsage = false
[tool.mypy]
strict = true
warn_unused_ignores = false
files = ["avatar"]
[[tool.mypy.overrides]]
module = "grpc.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "google.protobuf.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "mobly.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "portpicker.*"
ignore_missing_imports = true
[tool.pytype]
inputs = ['avatar']
[build-system]
requires = ["flit_core==3.7.1"]
build-backend = "flit_core.buildapi"