-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
102 lines (92 loc) · 1.95 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
[project]
name = "tamato"
version = "0.0.1"
requires-python = ">=3.12"
license = {file = "LICENSE"}
description = "UK Tariff Management Tool"
authors = [
{email = "[email protected]"},
{name = "Department for International Trade"}
]
maintainers = [
{email = "[email protected]"},
{name = "Department for International Trade"}
]
readme = "README.md"
dependencies = [
"dj-database-url",
"django",
"django-extra-fields",
"django-filter",
"django-fsm",
"django-health-check",
"django-polymorphic",
"django-webpack-loader",
"django_extensions",
"djangorestframework",
"gunicorn",
"jinja2",
"psycopg[binary]",
"python-dotenv",
"sentry-sdk",
"werkzeug",
"whitenoise",
]
[project.urls]
repository = "https://github.com/uktrade/tamato"
documentation = "https://uktrade.github.io/tamato/docs/"
[build-system]
requires = [
"setuptools>=42",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.coverage.run]
branch = true
[tool.coverage.report]
omit = [
'*/migrations/*',
'*/site-packages/*',
'manage.py',
'*/.pycharm_helpers/*',
'*/pycharm/*',
]
exclude_lines = [
# Don't complain about missing debug-only code:
'def __repr__',
'if self\.debug',
# Don't complain if tests don't hit defensive assertion code:
'raise AssertionError',
'raise NotImplementedError',
# Don't complain if non-runnable code isn't run:
'if 0:',
'if __name__ == .__main__.:',
]
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
force_single_line = true
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "settings.test"
norecursedirs = [
"allure-results",
"csv",
"dist",
"docs",
"*.egg-info",
".git",
"htmlcov",
".local",
".ipynb_checkpoints",
"node_modules",
"prof",
"__pycache__",
"static",
"run",
"venv",
]
markers = [
"importer_v2",
"reference_documents"
]