-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
40 lines (33 loc) · 949 Bytes
/
Copy pathpyproject.toml
File metadata and controls
40 lines (33 loc) · 949 Bytes
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
[project]
name = "idotmatrix-homeassistant"
version = "2.14.0"
[tool.ruff]
target-version = "py312"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "RUF"]
ignore = [
"E501", # line length is enforced by the formatter
"RUF002", # × in docstrings is intentional (64×64)
"RUF012", # mutable class attributes are idiomatic in HA entities
]
[tool.ruff.lint.isort]
known-first-party = ["custom_components.idotmatrix"]
[tool.ruff.format]
quote-style = "double"
[tool.pyright]
pythonVersion = "3.12"
include = ["custom_components/idotmatrix"]
typeCheckingMode = "basic"
reportMissingImports = "warning"
reportMissingModuleSource = "none"
# False positives — HA metaclass/domain= pattern can't be verified without HA stubs installed
reportGeneralTypeIssues = "warning"
reportCallIssue = "warning"
[dependency-groups]
dev = [
"pillow",
"pytest",
]
[tool.pytest.ini_options]
testpaths = ["tests"]