-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (67 loc) · 2.03 KB
/
Copy pathpyproject.toml
File metadata and controls
79 lines (67 loc) · 2.03 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
75
76
77
78
79
[project]
name = 'ha-daikin-brc1h'
version = '0.0.1'
dependencies = [
"bleak-retry-connector>=4.4.3",
"certifi>=2026.6.17",
"homeassistant>=2025.1.0",
"kadoma>=0.0.3",
]
license = "MIT"
license-files = ["LICENSE" ]
requires-python = '>= 3.13'
[dependency-groups]
dev = [
"homeassistant>=2025.4.4",
"ipdb>=0.13.13",
"pre-commit>=4.6.0",
"ruff>=0.15.19",
]
# [build-system]
# requires = ["setuptools>=40.8.0", "wheel"]
# build-backend = "setuptools.build_meta"
# [tool.setuptools]
# packages = ["custom_components/daikin_brc1h"]
[tool.black]
target-version = ["py313"]
[tool.isort]
profile = "black"
[tool.mypy]
files = ["custom_components/daikin_brc1h"]
[tool.ruff]
target-version = "py313"
[tool.ruff.lint]
select = [
"ALL",
]
ignore = [
"ANN401", # dynamically typed expressions (typing.Any) are disallowed
"COM812", # incompatible with formatter
"D203", # no-blank-line-before-class (incompatible with formatter)
"D212", # multi-line-summary-first-line (incompatible with formatter)
"ISC001", # incompatible with formatter
# daikin_rc1h
"ANN002", # Missing type annotation for `*args`
"ANN003", # Missing type annotation for `**kwargs`
"ARG002", # Unused method argument: `kwargs`
"ARG002", # Unused method argument: `kwargs`
"D102", # missing doc strings
"D401", # doc strings
"ERA001", # commented-out code
"FIX002", # Line contains TODO, consider resolving the issue
"G004", # Logging statement uses f-string
"PLR0913", # Too many arguments in function definition
"TD002", # Missing author in TODO
"TD003", # Missing issue link for this TODO
"TD005", # Missing issue description after `TODO`
"TRY203", # Remove exception handler; error is immediately re-raised
"TRY300", # Consider moving this statement to an `else` block
]
[tool.ruff.lint.flake8-pytest-style]
fixture-parentheses = false
[tool.ruff.lint.mccabe]
max-complexity = 25
[tool.ruff.lint.pyupgrade]
keep-runtime-typing = true
[tool.pyupgrade]
addopts = "--py313-plus"