-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
87 lines (77 loc) · 1.92 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
[tool.poetry]
name = "mesads"
version = "0.1.0"
description = ""
authors = ["Julien Castets"]
packages = [{include = "mesads"}]
[tool.poetry.group.dev.dependencies]
autopep8 = "^1.7.0"
flake8 = "^5.0.4"
pytest-django = "^4.5.2"
pytest-cov = "^4.0.0"
black = "^24.3.0"
pytest-testmon = "^2.1.0"
freezegun = "^1.4.0"
pypdf2 = "^3.0.1"
[tool.coverage.run]
omit = [
"manage.py",
"mesads/settings.py",
"*/wsgi.py",
"*/asgi.py",
"*/migrations/*.py",
"*urls.py",
"*/test_*.py",
"*/unittest.py",
# We should probably keep admin.py in coverage, but since it's only for
# admins let's avoid over-engineering.
"*/admin.py",
"*/admin/*.py",
# This file is mostly a copy of django classes, to allow authentication
# with email. There's no value to add unittests here.
"mesads/users/models.py",
"mesads/app/crons.py",
]
[tool.coverage.report]
show_missing = true
exclude_lines = [
"raise NotImplementedError",
"pragma: nocover",
]
[tool.poetry.dependencies]
python = "^3.10"
Django = "^5.0.6"
django-registration = "^3.2"
django-autocomplete-light = "^3.8.2"
psycopg2 = "^2.9.3"
requests = "^2.27.1"
django-querysetsequence = "^0.17"
sentry-sdk = "^2.3.1"
boto3 = "^1.21.22"
django-storages = "^1.12.3"
django-reversion = "^5.0.1"
djangorestframework = "^3.14.0"
django-cleanup = "^8.1.0"
dateparser = "^1.1.4"
pyshp = "^2.3.1"
django-cron = "^0.6.0"
django-mjml = "^1.0"
docxtpl = "^0.17.0"
django-formtools = "^2.4"
django-reversion-compare = "^0.17.0"
xlsxwriter = "^3.1.2"
openpyxl = "^3.1.2"
unidecode = "^1.3.7"
pyyaml = "^6.0.1"
django-markdownx = "^4.0.7"
weasyprint = "^62.1"
qrcode = "^7.4.2"
[tool.poetry.dev-dependencies]
django-debug-toolbar = "^3.2.2"
coverage = {version = "^6.4.1", extras = ["toml"]}
requests-mock = "^1.9.3"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "mesads.settings"