-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
108 lines (99 loc) · 2.75 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
[tool.poetry]
name = "ebau-gwr"
version = "0.7.1"
description = "GWR synchronisation for ebau projects"
homepage = "https://github.com/inosca/ebau-gwr"
repository = "https://github.com/inosca/ebau-gwr"
authors = ["Adfinis AG"]
license = "GPL-3.0-or-later"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Framework :: Django :: 3.2",
"Intended Audience :: Developers",
"Environment :: Web Environment",
]
include = ["CHANGELOG.md"]
exclude = [
"ebau_gwr/conftest.py",
"ebau_gwr/**/tests",
]
[tool.poetry.dependencies]
python = ">=3.10.0,<4"
cryptography = ">=37.0.2,<44.0.0"
Django = "^4.2.15"
django-environ = ">=0.10,<0.12"
django-filter = ">=23.5,<25"
django-generic-api-permissions = "^0.4.1"
djangorestframework = "^3.14.0"
djangorestframework-jsonapi = ">=5,<8"
mozilla-django-oidc = ">=2,<5"
psycopg = "^3.2.1"
requests = "^2.31.0"
uWSGI = "^2.0.23"
[tool.poetry.group.dev.dependencies]
django-extensions = "3.2.3"
factory-boy = "3.3.0"
gitlint = "0.19.1"
ipython = "8.26.0"
isort = "5.13.2"
pdbpp = "0.10.3"
pre-commit = "3.8.0"
pytest = "8.3.2"
pytest-cov = "5.0.0"
pytest-django = "4.8.0"
pytest-env = "1.1.3"
pytest-factoryboy = "2.7.0"
pytest-mock = "3.14.0"
pytest-randomly = "3.15.0"
python-semantic-release = "7.33.3"
requests-mock = "1.12.1"
syrupy = "4.6.1"
ruff = "0.5.7"
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.isort]
combine-as-imports = true
known-first-party = ["ebau_gwr"]
[tool.pytest.ini_options]
addopts = "--reuse-db --randomly-seed=1521188766 --randomly-dont-reorganize"
DJANGO_SETTINGS_MODULE = "ebau_gwr.settings"
filterwarnings = [
"error::DeprecationWarning",
"error::PendingDeprecationWarning",
"ignore:CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.:DeprecationWarning", # deprecation in mozilla-django-oidc
]
env = [
"ADMINS=Test Example <[email protected]>,Test2 <[email protected]>",
"OIDC_OP_USER_ENDPOINT=mock://ebau-gwr.github.com/openid/userinfo",
"OIDC_OP_INTROSPECT_ENDPOINT=mock://ebau-gwr.github.com/openid/introspect",
"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",
"ebau_gwr/settings_*.py",
"ebau_gwr/wsgi.py",
]
show_missing = true
[tool.semantic_release]
version_source = "tag"
major_on_zero = false
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"