-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (76 loc) · 2.19 KB
/
Copy pathpyproject.toml
File metadata and controls
82 lines (76 loc) · 2.19 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
[tool.poetry]
name = "motioneye-client"
version = "0.3.14"
description = "motionEye client library Python Package"
authors = ["Dermot Duffy <dermot.duffy@gmail.com>"]
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Home Automation",
]
keywords = [
"motioneye",
]
repository = "https://github.com/dermotduffy/motioneye-client"
include = ["motioneye_client/py.typed", "LICENSE"]
readme = "README.md"
license = "MIT"
[tool.poetry.dependencies]
python = ">=3.8"
aiohttp = "^3.10.11"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.5"
codecov = "^2.1.13"
pre-commit = "^3.5.0"
pytest-xdist = "^3.6.1"
pytest-timeout = "^2.4.0"
pytest-aiohttp = "^1.0.5"
pytest-codecov = "^0.7.0"
pytest-asyncio = "^0.24.0"
mypy = "^1.14.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
# https://github.com/PyCQA/isort/wiki/isort-Settings
profile = "black"
# will group `import x` and `from x import` of the same module.
force_sort_within_sections = true
known_first_party = [
"motioneye_client",
"tests",
]
forced_separate = [
"tests",
]
combine_as_imports = true
[tool.pytest.ini_options]
addopts = "-qq --timeout=9 --cov-report=html:htmlcov --cov-report=xml:coverage.xml --cov-report=term-missing --cov=motioneye_client --cov-fail-under=100"
console_output_style = "count"
testpaths = [
"tests",
]
[tool.mypy]
warn_unused_configs = true
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
no_implicit_reexport = true
warn_unreachable = true