-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
105 lines (94 loc) · 2.21 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
name = "quartx-calllogger"
dynamic = ["version"]
description = "CDR(Call Data Record) logger that sends call logs to the Quartx Call Monitoring service for processing."
readme = "README.md"
requires-python = ">=3.10.0"
license = {file = "LICENSE"}
authors = [
{ name = "William Forde", email = "[email protected]" },
]
keywords = [
"cdr",
"phone",
"telephone",
"telecommunications"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
"Environment :: No Input/Output (Daemon)",
"Operating System :: OS Independent",
"Topic :: Communications :: Telephony",
"Topic :: Communications :: Internet Phone",
]
dependencies = [
"appdirs~=1.4",
"psutil~=5.9",
"uptime~=3.0",
"python-decouple~=3.8",
"sentry-sdk~=1.17",
"pyserial~=3.5",
"requests~=2.31",
"attrs~=22.2",
"getmac~=0.9",
"fluent-logger~=0.10",
"logzio-python-handler~=4.0",
]
[tool.pdm.dev-dependencies]
test = [
"pytest~=7.2",
"pytest-cov~=4.0",
"pytest-mock~=3.10",
"requests-mock~=1.10",
]
lint = [
"flake8~=6.0",
"Flake8-pyproject~=1.2",
]
[project.urls]
homepage = "https://quartx.ie"
repository = "https://github.com/quartx-analytics/calllogger"
[project.scripts]
calllogger = "calllogger.__main__:monitor"
calllogger-mock = "calllogger.__main__:mockcalls"
calllogger-getmac = "calllogger.__main__:getmac"
[tool.pdm.scripts]
_.env_file = ".env"
tests = "pytest"
linting = "flake8 src/calllogger"
checks = {composite = ["linting", "tests"]}
post_lock = {composite = [
"pdm export -o requirements-docker.txt --without-hashes --prod",
"pdm export -o requirements-test.txt --without-hashes --dev --group test",
]}
[tool.pdm.build]
package-dir = "src"
excludes = ["tests"]
[tool.pdm.version]
source = "file"
path = "src/calllogger/__init__.py"
[tool.flake8]
max-line-length = 120
ignore = ["E402"]
exclude = [
".git",
"test",
]
[tool.coverage.run]
source = ["calllogger"]
branch = true
[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.:",
"pragma: no cover",
"def __repr__",
]
[tool.coverage.paths]
source = [
"src",
"*/site-packages",
]