-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (73 loc) · 2.11 KB
/
pyproject.toml
File metadata and controls
83 lines (73 loc) · 2.11 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
80
81
82
83
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "sinricpro"
version = "5.2.1"
description = "Official SinricPro SDK for Python - Control IoT devices with Alexa and Google Home"
authors = [{name = "SinricPro", email = "support@sinric.pro"}]
readme = "README.md"
license = {text = "CC-BY-SA-4.0"}
requires-python = ">=3.10"
keywords = ["sinricpro", "alexa", "google-home", "smart-home", "iot", "websocket", "home-automation"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Home Automation",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: Free For Educational Use",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
]
dependencies = [
"websockets>=12.0",
"aiohttp>=3.9.0"
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-asyncio>=0.21",
"pytest-cov>=4.0",
"black>=23.0",
"flake8>=6.0",
"mypy>=1.0",
"isort>=5.12",
]
[project.urls]
Homepage = "https://sinric.pro"
Repository = "https://github.com/sinricpro/python-sdk"
Issues = "https://github.com/sinricpro/python-sdk/issues"
Documentation = "https://sinric.pro/python-sdk-docs"
[tool.setuptools.packages.find]
where = ["."]
include = ["sinricpro*"]
[tool.black]
line-length = 100
target-version = ['py310', 'py311', 'py312']
[tool.isort]
profile = "black"
line_length = 100
[tool.mypy]
python_version = "3.10"
strict = true
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_any_unimported = false
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "--strict-markers --cov=sinricpro --cov-report=term-missing"
[tool.coverage.run]
source = ["sinricpro"]
omit = ["tests/*", "examples/*"]
[tool.coverage.report]
precision = 2
show_missing = true
skip_covered = false