-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpyproject.toml
85 lines (75 loc) · 1.91 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
[tool.poetry]
name = "zm-py"
version = "0.5.4"
description = "A loose python wrapper around the ZoneMinder REST API."
authors = ["Rohan Kapoor <[email protected]>"]
maintainers = ["Nic Boet <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://github.com/rohankapoorcom/zm-py"
repository = "https://github.com/rohankapoorcom/zm-py"
classifiers= [
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Home Automation'
]
packages = [
{include = "zoneminder"},
{include = "tests", format = "sdist"}
]
[tool.poetry.dependencies]
python = "^3.11"
requests = ">=2.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.3"
pylint = "^3.0.3"
pydocstyle = "^6.3.0"
mypy = "^1.8.0"
flake8 = "^6.1.0"
flake8-docstrings = "^1.7.0"
colorlog = "^6.8.0"
requests = "^2.31.0"
tox = "^4.11.4"
autopep8 = "^2.0.4"
platformdirs = "<4.0.0"
[tool.black]
line-length = 100
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
| tests/toml-test
)/
'''
[tool.mypy]
python_version = 3.11
ignore_errors = true
follow_imports = "silent"
ignore_missing_imports = true
warn_incomplete_stub = true
warn_redundant_casts = true
warn_unused_configs = true
[tool.isort]
# https://github.com/timothycrosley/isort
# https://github.com/timothycrosley/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 = "homeassistant,tests"
forced_separate = "tests"
combine_as_imports = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"