Debian Codegraph @

pyproject.toml

raw
1 [project]
2 name = "bleak-retry-connector"
3 version = "4.7.1"
4 description = "A connector for Bleak Clients that handles transient connection failures"
5 authors = [{ name = "J. Nick Koston", email = "[email protected]" }]
6 license = "MIT"
7 readme = "README.md"
8 requires-python = ">=3.10"
9 dynamic = ["classifiers", "dependencies"]
10
11 [project.urls]
12 "Documentation" = "https://bleak-retry-connector.readthedocs.io"
13 "Repository" = "https://github.com/bluetooth-devices/bleak-retry-connector"
14 "Bug Tracker" = "https://github.com/bluetooth-devices/bleak-retry-connector/issues"
15 "Changelog" = "https://github.com/bluetooth-devices/bleak-retry-connector/blob/main/CHANGELOG.md"
16
17 [tool.poetry]
18 classifiers = [
19 "Development Status :: 5 - Production/Stable",
20 "Intended Audience :: Developers",
21 "Natural Language :: English",
22 "Operating System :: OS Independent",
23 "Topic :: Software Development :: Libraries",
24 ]
25 packages = [
26 { include = "bleak_retry_connector", from = "src" },
27 ]
28
29 [tool.poetry.dependencies]
30 python = ">=3.10,<4.0"
31 bleak = ">=3.0.2"
32 async-timeout = {version = ">=3.0.0", python = "<3.11"}
33 dbus-fast = {version = ">=5.0.22", markers = "platform_system == \"Linux\""}
34 bluetooth-adapters = {version = ">=2.3.0", markers = "platform_system == \"Linux\""}
35
36 [tool.poetry.group.dev.dependencies]
37 dbus-fast = ">=5.0.22"
38 pytest = "^9.1"
39 pytest-cov = "^7.1"
40 pytest-asyncio = "^1.4.0"
41 blockbuster = ">=1.5.27,<1.6"
42
43
44 [tool.poetry.group.docs.dependencies]
45 myst-parser = ">=4.0.1"
46 sphinx-rtd-theme = ">=3.0.2"
47 sphinx = ">=8"
48
49 [tool.semantic_release]
50 branch = "main"
51 version_toml = ["pyproject.toml:project.version"]
52 version_variables = ["src/bleak_retry_connector/__init__.py:__version__"]
53 build_command = "pip install poetry && poetry build"
54
55
56 [tool.semantic_release.changelog]
57 mode = "update"
58 insertion_flag = "<!-- version list -->"
59
60 [tool.pytest.ini_options]
61 addopts = "-v -Wdefault --cov=bleak_retry_connector --cov-report=term-missing:skip-covered"
62 pythonpath = ["src"]
63
64 [tool.coverage.run]
65 branch = true
66
67 [tool.coverage.report]
68 exclude_lines = [
69 "pragma: no cover",
70 "@overload",
71 "if TYPE_CHECKING",
72 "raise NotImplementedError",
73 ]
74
75 [tool.ruff]
76 line-length = 88
77 target-version = "py310"
78
79 [tool.ruff.lint]
80 select = ["I"]
81
82 [tool.ruff.lint.isort]
83 known-first-party = ["bleak_retry_connector", "tests"]
84
85 [tool.mypy]
86 check_untyped_defs = true
87 disallow_any_generics = true
88 disallow_incomplete_defs = true
89 disallow_untyped_defs = true
90 mypy_path = "src/"
91 no_implicit_optional = true
92 show_error_codes = true
93 warn_unreachable = true
94 warn_unused_ignores = true
95 exclude = [
96 'docs/.*',
97 'setup.py',
98 ]
99
100 [[tool.mypy.overrides]]
101 module = "tests.*"
102 allow_untyped_defs = true
103
104 [[tool.mypy.overrides]]
105 module = "docs.*"
106 ignore_errors = true
107
108 [build-system]
109 requires = ["poetry-core>=2.0.0"]
110 build-backend = "poetry.core.masonry.api"