1[project]
2name = "pandora-avatar"
3authors = [{name = "Pandora", email = "[email protected]"}]
4readme = "README.md"
5dynamic = ["version", "description"]
6requires-python = ">=3.8"
7classifiers = [
8    "Programming Language :: Python :: 3.10",
9    "License :: OSI Approved :: Apache Software License"
10]
11dependencies = [
12    "bt-test-interfaces",
13    "bumble==0.0.170",
14    "protobuf==4.24.2",
15    "grpcio==1.57",
16    "mobly==1.12.2",
17    "portpicker>=1.5.2",
18]
19
20[project.urls]
21Source = "https://github.com/google/avatar"
22
23[project.scripts]
24avatar = "avatar:main"
25
26[project.optional-dependencies]
27dev = [
28    "rootcanal==1.3.0",
29    "grpcio-tools>=1.57",
30    "pyright==1.1.298",
31    "mypy==1.5.1",
32    "black==23.7.0",
33    "isort==5.12.0",
34    "types-psutil==5.9.5.16",
35    "types-setuptools==68.1.0.1",
36    "types-protobuf==4.24.0.1"
37]
38
39[tool.flit.module]
40name = "avatar"
41
42[tool.flit.sdist]
43include = ["doc/"]
44
45[tool.black]
46line-length = 119
47target-version = ["py38", "py39", "py310", "py311"]
48skip-string-normalization = true
49
50[tool.isort]
51profile = "black"
52line_length = 119
53no_sections = true
54lines_between_types = 1
55force_single_line = true
56single_line_exclusions = ["typing", "typing_extensions", "collections.abc"]
57
58[tool.pyright]
59include = ["avatar"]
60exclude = ["**/__pycache__", "**/*_pb2.py"]
61typeCheckingMode = "strict"
62useLibraryCodeForTypes = true
63verboseOutput = false
64reportMissingTypeStubs = false
65reportUnknownLambdaType = false
66reportImportCycles = false
67reportPrivateUsage = false
68
69[tool.mypy]
70strict = true
71warn_unused_ignores = false
72files = ["avatar"]
73
74[[tool.mypy.overrides]]
75module = "grpc.*"
76ignore_missing_imports = true
77
78[[tool.mypy.overrides]]
79module = "google.protobuf.*"
80ignore_missing_imports = true
81
82[[tool.mypy.overrides]]
83module = "mobly.*"
84ignore_missing_imports = true
85
86[[tool.mypy.overrides]]
87module = "portpicker.*"
88ignore_missing_imports = true
89
90[tool.pytype]
91inputs = ['avatar']
92
93[build-system]
94requires = ["flit_core==3.7.1"]
95build-backend = "flit_core.buildapi"
96