-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
99 lines (86 loc) · 2.71 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
# syntax-documentation:
# - https://python-poetry.org/docs/pyproject
# - https://flit.readthedocs.io/en/latest/pyproject_toml.html
#
# NOTE: you have to use single-quoted strings in TOML for regular expressions.
# It's the equivalent of r-strings in Python. Multiline strings are treated as
# verbose regular expressions by Black. Use [ ] to denote a significant space
# character.
#
# > poetry install
# > poetry install --only docs
# > poetry install (--with|--without) (docs|dev|ipython|profiling|testing|typing)
[build-system]
requires = ["poetry-core>=1.4.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
target-version = ["py39"]
[tool.poetry]
name = "scouts-kampvisum-api"
version = "1.0"
description = "Provides functionality for setting up a scouts kamp visum"
authors = ["inuits <[email protected]>"]
# license = "GPL v2.0"
homepage = "https://github.com/ScoutsGidsenVL/kampvisum-backend"
repository = "https://github.com/ScoutsGidsenVL/kampvisum-backend"
keywords = ["django", "scouts", "kampvisum"]
[tool.poetry.dependencies]
python = ">=3.9,<3.10"
boto3 = ">=1.34.39"
cffi = ">=1.16.0"
django = ">=4.1.13,<5.0"
django-anymail = {extras = ["sendinblue"], version = ">=10.2"}
django-cors-headers = ">=4.3.1"
django-cprofile-middleware = ">=1.0.5"
django-filter = ">=23.5"
django-rest-enumfield = ">=0.2.0"
django-safedelete = ">=1.3.3"
django-sql-middleware = ">=0.0.7"
django-storages = ">=1.14.2"
djangorestframework = ">=3.14"
drf-yasg = ">=1.21.4"
environs = ">=10.3.0"
future = ">=0.18.3"
mozilla-django-oidc = ">=4.0.0"
pdfrw = ">=0.4"
psycopg2-binary = ">=2.9.9"
pyjwt = ">=2.8.0"
PyYAML = ">=6.0.1"
urllib3= ">=1.26.19,<2.0"
[tool.poetry.group.dev.dependencies]
autoread-dotenv = ">=1.0.2"
black = ">=24.4.2"
isort = ">=5.13.2"
pylint = ">=3.1.1"
ruff = ">=0.0"
[tool.poetry.group.ipython.dependencies]
ipdb = ">=0.13"
ipython = ">=8.18"
[tool.poetry.group.testing.dependencies]
coverage = { extras = ["toml"], version = ">=6.2" }
hypothesis = ">=6.72"
pytest = ">=7.0"
pytest-clarity = ">=1.0"
pytest-codecov = ">=0.5"
pytest-cov = ">=3.0"
pytest-click = ">=1.1"
pytest-django = ">=4.5.2"
pytest-mock = ">=3.6"
pytest-xdist = ">=3.2"
[tool.pytest.ini_options]
cache_dir = "var/cache/pytest"
filterwarnings = []
log_cli = false # enable to show log-output
log_cli_level = "NOTSET"
markers = ["unit", "integration"]
pythonpath = [".", "src"]
testpaths = ["tests"]
# the junit-report is used to report coverage in gitlab
addopts = "--color=yes --junit-xml=\"${CACHE_DIR}/coverage/pytest-BBBB.xml\""
DJANGO_SETTINGS_MODULE = "scouts_kampvisum_api.settings"
[tool.ruff]
# ruff searches for settings in the target-dir and up
# https://docs.astral.sh/ruff/configuration
cache-dir = "var/cache/ruff"
line-length = 120