-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
89 lines (80 loc) · 2.18 KB
/
pyproject.toml
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
80
81
82
83
84
85
86
87
88
89
[tool.poetry]
authors = ["Bas Brussee"]
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3",
]
description = "Adaptive Cover"
documentation = "https://github.com/basbruss/adaptive-cover"
homepage = "https://github.com/basbruss/adaptive-cover"
license = "Passive Aggressive License"
maintainers = ["Bas Brussee"]
name = "adaptive_cover"
packages = []
readme = "README.md"
repository = "https://github.com/basbruss/adaptive-cover"
version = "0.0.0"
[tool.poetry.dependencies]
homeassistant = "2023.11.1"
python = "^3.11"
[tool.poetry.group.dev.dependencies]
hass-nabucasa = "0.75.1"
pre-commit = "4.0.1"
pre-commit-hooks = "5.0.0"
pylint = "3.3.1"
ruff = "0.6.9"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/basbruss/adaptive-cover/issues"
Changelog = "https://github.com/basbruss/adaptive-cover/releases"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
[tool.ruff]
ignore = [
"ANN101", # Self... explanatory
"ANN401", # Opiniated warning on disallowing dynamically typed expressions
"D203", # Conflicts with other rules
"D213", # Conflicts with other rules
"TID252", # Relative imports
"RUF012", # Just broken
# Formatter conflicts
"COM812",
"COM819",
"D206",
"E501",
"ISC001",
"Q000",
"Q001",
"Q002",
"Q003",
"W191",
]
select = ["ALL"]
src = ["custom_components/adaptive_cover"]
[tool.ruff.flake8-import-conventions.extend-aliases]
"homeassistant.helpers.area_registry" = "ar"
"homeassistant.helpers.config_validation" = "cv"
"homeassistant.helpers.device_registry" = "dr"
"homeassistant.helpers.entity_registry" = "er"
"homeassistant.helpers.issue_registry" = "ir"
voluptuous = "vol"
[tool.ruff.isort]
force-sort-within-sections = true
known-first-party = [
"homeassistant",
]
combine-as-imports = true
[tool.pylint."MESSAGES CONTROL"]
# Reasons disabled:
# format - handled by ruff
# duplicate-code - unavoidable
# used-before-assignment - false positives with TYPE_CHECKING structures
disable = [
"format",
"duplicate-code",
"used-before-assignment",
]