-
-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (65 loc) · 1.67 KB
/
pyproject.toml
File metadata and controls
74 lines (65 loc) · 1.67 KB
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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "robovac"
version = "2.3.0-beta.1"
description = "Eufy RoboVac integration for Home Assistant"
readme = "README.md"
requires-python = ">=3.13.0"
license = {text = "Apache-2.0"}
authors = [
{name = "Dan Webb", email = "dan.webb@damacus.io"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.13",
"Topic :: Home Automation",
]
[tool.black]
line-length = 88
target-version = ["py313"]
include = '\.pyi?$'
[tool.isort]
profile = "black"
line_length = 88
[tool.mypy]
python_version = "3.13"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
# Ignore errors about missing stubs for external libraries
[[tool.mypy.overrides]]
module = [
"voluptuous.*",
"homeassistant.*",
"numpy.*",
"pytest_homeassistant_custom_component.*"
]
ignore_missing_imports = true
# Disable override check for config_flow.py
[[tool.mypy.overrides]]
module = "custom_components.robovac.config_flow"
disallow_subclassing_any = false
disable_error_code = ["override"]
strict_optional = false
check_untyped_defs = false
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
asyncio_mode = "auto"
[tool.coverage.run]
source = ["custom_components"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"pass",
"raise ImportError",
]