-
Notifications
You must be signed in to change notification settings - Fork 97
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (67 loc) · 1.59 KB
/
pyproject.toml
File metadata and controls
75 lines (67 loc) · 1.59 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
[project]
name = "pdfding"
# do not change the version line position as it will break the automated update after a release
version = "1.6.1"
description = "Selfhosted PDF manager, viewer and editor offering a seamless user experience on multiple devices."
authors = [
{ name = "mrmn2" },
]
readme = "README.md"
license = "AGPL-3.0-only"
license-files = ["LICENSE"]
[tool.poetry.dependencies]
python = ">=3.11 <4.0"
django = "==5.2.12"
django-allauth = { extras = ["mfa", "socialaccount"], version = "==65.15.0" }
django-htmx = "==1.27.0"
gunicorn = "==25.1.0"
huey = "==2.6.0"
Markdown = "==3.10.2"
minio = "==7.2.20"
nh3 = "==0.3.3"
psycopg2-binary = "==2.9.11"
pypdfium2 = "==5.6.0"
pypdf = "==6.8.0"
python-magic = "==0.4.27"
qrcode = { extras = ["pil"], version = "==8.2" }
RapidFuzz = "==3.14.3"
supervisor = "==4.3.0"
whitenoise = { extras = ["brotli"], version = "==6.12.0" }
[tool.poetry.group.dev.dependencies]
bandit = "==1.9.4"
black = "==26.3.1"
flake8 = "==7.3.0"
pytest = "==9.0.2"
pytest-cov = "==7.0.0"
pytest-django = "==4.12.0"
[tool.poetry.group.e2e.dependencies]
pytest-playwright = "==0.7.2"
[tool.black]
line-length = 120
skip-string-normalization = true
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "pdfding.core.settings"
[tool.bandit]
exclude_dirs = ["tests", "path/to/file"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
atomic = true
profile = "black"
line_length = 120
skip_gitignore = true