forked from leikoilja/ha-google-home
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
72 lines (64 loc) · 1.6 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
[tool.poetry]
name = "google_home"
version = "0.0.0"
description = "Home Assistant Google Home community integration"
authors = ["Ilja Leiko <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [{include = "google_home", from = "custom_components"}]
[tool.poetry.dependencies]
python = "^3.11"
glocaltokens = "^0.7.0"
homeassistant = "2023.11.0"
[tool.poetry.group.dev.dependencies]
black = "^24.2.0"
codespell = "^2.2.5"
flake8 = "^7.0.0"
flake8-bugbear = "^24.2.6"
flake8-comprehensions = "^3.14.0"
flake8-simplify = "^0.21.0"
flake8-use-fstring = "^1.4"
homeassistant-stubs = "^2023.11.0"
isort = "^5.13.2"
mypy = "^1.8"
pre-commit = "^3.6.1"
PyGithub = "^2.2"
pylint = "^3.0.3"
types-requests = "^2.31.0"
voluptuous-stubs = "^0.1.1"
[tool.pylint.messages_control]
# Reasons disabled:
# too-many-* - not enforced for the sake of readability
# too-few-* - same as too-many-*
disable = [
"duplicate-code",
"too-few-public-methods",
"too-many-ancestors",
"too-many-arguments",
"too-many-instance-attributes",
"too-many-locals",
]
[tool.pylint.format]
max-line-length = 88
[tool.isort]
profile = "black"
force_sort_within_sections = true
combine_as_imports = true
known_first_party = [
"homeassistant",
]
[tool.mypy]
python_version = "3.11"
show_error_codes = true
strict = true
disallow_any_explicit = true
disallow_any_unimported = true
warn_no_return = true
warn_unreachable = true
[tool.codespell]
quiet-level = 2
skip = "poetry.lock,./.git/*,./.mypy_cache/*,*.json"
ignore-words-list = "hass"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"