-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (57 loc) · 1.47 KB
/
Copy pathpyproject.toml
File metadata and controls
65 lines (57 loc) · 1.47 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
[build-system]
requires = ["uv_build >=0.11.25,<0.13"]
build-backend = "uv_build"
[project]
name = "tuya-local"
description = "A Home Assistant integration for local control of Tuya devices."
version = "0.0.0"
requires-python = ">=3.14.2"
dependencies = [
"tinytuya~=1.20.0",
"tuya-device-sharing-sdk~=0.2.4"
]
readme = "README.md"
license = "MIT"
license-file = "LICENSE.md"
[project.scripts]
duplicates = "util.duplicates:main"
best_match = "util.best_match:main"
all_matches = "util.config_match:main"
match_against = "util.match_against:main"
translation_candidates = "util.translation_candidates:main"
untranslated_entities = "util.untranslated_entities:main"
catalog = "util.catalog:main"
entities = "util.entities:main"
[dependency-groups]
dev = [
"fuzzywuzzy",
"infrared-protocols>=5.6",
"levenshtein",
"PyTurboJPEG~=1.8.0",
"pytest-homeassistant-custom-component==0.13.359",
"pytest",
"pytest-asyncio",
"pytest-cov",
"pytest-mock",
"ruff",
"yamllint"
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.ruff]
target-version = "py314"
[tool.ruff.lint]
select = [
"F", # pyflakes
"E", # pycodestyle
"W", # pycodestyle warnings
"S", # flake8-bandit
"B", # flake8-bugbear
"A", # flake8-builtins
]
ignore = ["E501"] # long lines (checked by ruff format)
[tool.ruff.lint.per-file-ignores]
"tests/**.py" = ["B011", "B028", "S101"]
[tool.uv.build-backend]
module-name = ["custom_components.tuya_local", "util"]
module-root = ""