• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[project]
2name = "avatar"
3authors = [{name = "Pandora", email = "pandora-core@google.com"}]
4readme = "README.md"
5dynamic = ["version", "description"]
6dependencies = [
7    "bt-test-interfaces",
8    "bumble",
9    "grpcio==1.51.1",
10    "mobly>=1.12",
11    "bitstruct>=8.12",
12]
13
14[project.optional-dependencies]
15dev = [
16    "grpcio-tools==1.51.1",
17    "black==22.10.0",
18    "pyright==1.1.298",
19    "mypy==1.0",
20    "isort==5.12.0",
21    "types-psutil>=5.9.5.6",
22    "types-setuptools>=65.7.0.3",
23    "types-protobuf>=4.21.0.3"
24]
25
26[tool.black]
27line-length = 119
28target-version = ["py38", "py39", "py310", "py311"]
29skip-string-normalization = true
30
31[tool.isort]
32profile = "black"
33line_length = 119
34no_sections = true
35lines_between_types = 1
36combine_as_imports = true
37
38[tool.mypy]
39strict = true
40warn_unused_ignores = false
41files = ["avatar", "examples"]
42mypy_path = '$MYPY_CONFIG_FILE_DIR/bt-test-interfaces/python:$MYPY_CONFIG_FILE_DIR/third-party/bumble'
43exclude = 'third-party/bumble'
44
45[[tool.mypy.overrides]]
46module = "grpc.*"
47ignore_missing_imports = true
48
49[[tool.mypy.overrides]]
50module = "mobly.*"
51ignore_missing_imports = true
52
53[tool.pyright]
54include = ["avatar", "examples"]
55exclude = ["**/__pycache__"]
56typeCheckingMode = "strict"
57useLibraryCodeForTypes = true
58verboseOutput = false
59extraPaths = [
60    'bt-test-interfaces/python',
61    'third-party/bumble'
62]
63reportMissingTypeStubs = false
64reportUnknownLambdaType = false
65reportImportCycles = false
66
67[tool.pytype]
68inputs = ['avatar', 'examples']
69
70[build-system]
71requires = ["flit_core==3.7.1"]
72build-backend = "flit_core.buildapi"
73