forked from adfinis/document-merge-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
133 lines (123 loc) · 3.51 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
[tool.poetry]
name = "document-merge-service"
version = "6.4.5"
description = "Merge Document Template Service"
license = "GPL-3.0-or-later"
authors = ["Adfinis AG <[email protected]>"]
homepage = "https://github.com/adfinis/document-merge-service"
repository = "https://github.com/adfinis/document-merge-service"
documentation = "https://github.com/adfinis/document-merge-service/blob/main/README.md"
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3.8",
]
include = ["CHANGELOG.md"]
exclude = [
"document-merge-service/**/tests",
]
[tool.poetry.dependencies]
python = "^3.8.1"
Babel = "^2.11.0"
Django = "^3.2.20"
django-cors-headers = "^4.2.0"
django-environ = ">=0.10,<0.12"
django-filter = "^23.2"
django-generic-api-permissions = "^0.2.0"
django-storages = "^1.13.2"
djangorestframework = "^3.14.0"
docx-mailmerge = "^0.5.0"
docxtpl = "^0.16.7"
Jinja2 = "^3.1.2"
mysqlclient = { version = "^2.2.0", optional = true }
psycopg2-binary = { version = "^2.9.6", optional = true }
python-dateutil = "^2.8.2"
python-memcached = "^1.59"
requests = "^2.31.0"
sentry-sdk = "^1.28.1"
urllib3 = ">=1.26.16 <2"
uWSGI = "^2.0.21"
xltpl = ">=0.18,<0.20"
[tool.poetry.group.dev.dependencies]
black = "23.7.0"
django-stubs = "4.2.3"
factory-boy = "3.3.0"
flake8 = "6.1.0"
flake8-debugger = "4.1.2"
flake8-docstrings = "1.7.0"
flake8-isort = "6.1.1"
flake8-string-format = "0.3.0"
flake8-tuple = "0.4.1"
gitlint = "0.19.1"
isort = "5.12.0"
mypy = "1.7.1"
pdbpp = "0.10.3"
psutil = "5.9.8"
pydocstyle = "6.3.0"
pytest = "7.4.4"
pytest-cov = "4.1.0"
pytest-django = "4.7.0"
pytest-env = "1.1.3"
pytest-factoryboy = "2.6.0"
pytest-mock = "3.12.0"
pytest-randomly = "3.15.0"
python-semantic-release = "7.34.6"
requests-mock = "1.11.0"
syrupy = "4.6.0"
types-python-dateutil = "2.8.19.14"
types-requests = "2.31.0.6"
types-setuptools = "69.0.0.0"
types-toml = "0.10.8.7"
[tool.poetry.extras]
mysql = ["mysqlclient"]
pgsql = ["psycopg2-binary"]
databases = ["mysqlclient", "psycopg2-binary"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
skip = "migrations"
known_first_party = "document_merge_service"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
combine_as_imports = true
line_length = 88
[tool.pytest.ini_options]
addopts = "--reuse-db --randomly-seed=1521188766 --randomly-dont-reorganize"
DJANGO_SETTINGS_MODULE = "document_merge_service.settings"
filterwarnings = """
error::DeprecationWarning
error::PendingDeprecationWarning
ignore:invalid escape sequence
ignore:pkg_resources is deprecated as an API:DeprecationWarning"""
env = """
ADMINS=Test Example <[email protected]>,Test2 <[email protected]>
OIDC_USERINFO_ENDPOINT=mock://document-merge-service.github.com/openid/userinfo
OIDC_BEARER_TOKEN_REVALIDATION_TIME=60"""
[tool.coverage.run]
source = ["."]
[tool.coverage.report]
fail_under = 100
exclude_lines = [
"pragma: no cover",
"pragma: todo cover",
"def __str__",
"def __unicode__",
"def __repr__",
]
omit = [
"*/migrations/*",
"*/apps.py",
"manage.py",
"setup.py",
"document_merge_service/settings_*.py",
"document_merge_service/wsgi.py",
"document_merge_service/document_merge_service_metadata.py",
]
show_missing = true
[tool.semantic_release]
version_source = "tag"
version_toml = ["pyproject.toml:tool.poetry.version"]