-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (72 loc) · 1.63 KB
/
pyproject.toml
File metadata and controls
83 lines (72 loc) · 1.63 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
[project]
name = "nc2ldap"
dynamic = ["version"]
description = "Nextcloud add-on, which serves your Nextcloud phone book as an LDAP server, for use with SIP desktop phones."
authors = [
{name = "Niklas Bettgen", email = "niklas@bettgen.de"},
]
dependencies = [
"ldap3==2.9.1",
"phonenumbers==8.13.22",
"vobject==0.9.6.1",
"webdav4==0.9.8",
"schedule>=1.2.2",
]
requires-python = ">=3.11"
readme = "README.md"
license = {text = "MIT"}
[dependency-groups]
dev = [
"types-ldap3>=2.9.13.20251121",
"types-vobject>=0.9.9.20250708",
"flake8>=7.3.0",
"pylint>=4.0.4",
"mypy>=1.19.1",
"isort>=7.0.0",
"pydocstyle>=6.3.0",
"black>=25.12.0",
"pytest>=9.0.2",
"Flake8-pyproject>=1.2.4",
"pytest-env>=1.2.0",
]
[tool.pdm]
self-install = true
distribution = true
[tool.pdm.scripts]
format.composite = [
"isort ./src/nc2ldap",
"black ./src/nc2ldap"
]
lint.composite = [
"flake8 ./src/nc2ldap",
"mypy ./src/nc2ldap",
"pylint ./src/nc2ldap"
]
test = "pytest ./src/nc2ldap"
[tool.black]
line-length = 100
[tool.flake8]
max-line-length = 100
[tool.pylint.DESIGN]
max-args = 10
max-attributes = 10
[tool.pylint.messages_control]
disable = [
"too-few-public-methods",
"too-many-instance-attributes"
]
[tool.pydocstyle]
ignore = "D105,D107,D203,D213"
[tool.mypy]
python_version = 3.11
mypy_path = "src"
check_untyped_defs = true
ignore_missing_imports = true
ignore_missing_imports_per_module = true
warn_unused_ignores = true
[tool.pytest.ini_options]
pythonpath = [ ".", "src" ]
env = [ "DEFAULT_REGION = DE" ]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"