-
-
Notifications
You must be signed in to change notification settings - Fork 55
/
pyproject.toml
91 lines (71 loc) · 1.77 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
86
87
88
89
90
91
[tool.poetry]
name = "protect-archiver"
version = "2.1.2"
description = "UniFi Protect Video Downloader"
authors = ["Daniel Fernau", "David Cramer"]
license = "MIT"
readme = "README.md"
packages = [
{ include = "protect_archiver"}
]
homepage = "https://github.com/danielfernau/unifi-protect-video-downloader"
repository = "https://github.com/danielfernau/unifi-protect-video-downloader"
classifiers = [
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Typing :: Typed",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.dependencies]
python = "^3.8.2"
pip = "*"
python-dateutil = "^2.9.0"
requests = {extras = ["security"], version = "^2.32.3"}
click = "^8.1.7"
types-python-dateutil = "^2.9.0"
types-requests = "^2.32.0"
[tool.poetry.dev-dependencies]
black = "*"
codecov = "*"
flake8 = "*"
isort = "^5.13.2"
mypy = "*"
pytest = "*"
pytest-cov = "*"
pylint = "*"
responses = "*"
pytest-responses = "*"
pytest-xdist = "*"
[tool.poetry.scripts]
protect-archiver = 'protect_archiver.cli:main'
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
py_version = 39
profile = "black"
force_single_line = true
combine_as_imports = true
lines_between_types = 1
lines_after_imports = 2
src_paths = ["protect_archiver", "tests"]
[tool.black]
line-length = 100
experimental_string_processing = true
force-exclude = '''
.*/setup\.py$
'''
[tool.mypy]
check_untyped_defs = true
ignore_missing_imports = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
files = "protect_archiver"
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:"
]