forked from nielsfaber/alarmo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (57 loc) · 1.23 KB
/
Copy pathpyproject.toml
File metadata and controls
64 lines (57 loc) · 1.23 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
[project]
name = "alarmo"
version = "1.10.12"
description = "an alarm system integration for Home Assistant."
readme = "README.md"
requires-python = "==3.13.2"
dependencies = [
"homeassistant~=2025.10.0",
]
[dependency-groups]
dev = [
"pre-commit>=4.2.0",
"pytest>=8.3.5",
"pytest-asyncio>=0.26.0",
"pytest-homeassistant-custom-component>=0.13.243",
"ruff>=0.14.1",
]
[tool.uv]
required-version = ">=0.8.0"
[tool.ruff]
line-length = 88 # Matches black
show-fixes = true
target-version = "py313"
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = "dynamic"
line-ending = "auto"
[tool.ruff.lint]
ignore = [
"D105", #missing-docstring-in-init
"PLR2004", #Magic Values
"D203", #no-blank-line-before-class
"D212", #multi-line-summary-first-line
]
select = [
"I", # isort
"F", # plake8-bugbear
"E", # pycoyflakes
"W",
"D", # pydocstyle
"PL", # pylint
"RUF", # ruff
"UP", # pyupgrade
]
[tool.ruff.lint.pylint]
max-args = 10
[tool.ruff.lint.isort]
length-sort = true
section-order = [
"future",
"standard-library",
"third-party",
"first-party",
"local-folder",
]
[tool.ruff.lint.pydocstyle]
convention = "google"