-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
73 lines (67 loc) · 1.88 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
[tool.poetry]
name = "find-moj-data"
version = "0.1.0"
description = ""
authors = ["Mitch Dawson <[email protected]>"]
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.11"
django = "^5.1"
django-prometheus = "^2.3.1"
pyyaml = "^6.0.2"
gunicorn = "^23.0.0"
whitenoise = "^6.9.0"
markdown = "^3.7"
python-dotenv = "^1.0.1"
markdown-headdown = "^0.1.3"
nltk = "^3.9.1"
sentry-sdk = { extras = ["django"], version = "^2.22.0" }
django-azure-auth = "2.3.0"
django-waffle = "^4.2.0"
psycopg = "^3.2.5"
psycopg-binary = "^3.2.5"
django-debug-toolbar = "^5.0.1"
redis = { extras = ["hiredis"], version = "^5.2.1" }
notifications-python-client = "^10.0.1"
pydantic = { extras = ["email"], version = "^2.10.6" }
email-validator = "2.2.0"
acryl-datahub = { extras = ["datahub-rest"], version = "^0.12.1.3" }
deepdiff = "^8.2.0"
boto3 = "^1.37.6"
[tool.poetry.group.dev.dependencies]
black = "^25.1.0"
pre-commit = "^4.1.0"
selenium = "~=4.29.0"
flake8 = ">=6.1.0"
pytest-django = "^4.10.0"
pytest-cov = "^6.0.0"
faker = "^36.1.1"
isort = "^6.0.1"
freezegun = "^1.5.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "core.settings"
python_files = ["test_*.py", "*_test.py", "testing/python/*.py"]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"datahub: marks tests that query Datahub rather than mocking",
]
testpaths = ["tests"]
[tool.isort]
profile = "black"
[tool.flake8]
per-file-ignores = [
'*/test_datahub_client.py:E501',
'*/test_graphql_helpers.py:E501',
'*/test_search.py:E501',
'*/test_integration_with_datahub_server.py:E501,F401',
'*/conftest.py:E501,F401',
]
ignore = ['E203', 'E266', 'W503', 'F403']
exclude = ".git,.mypy_cache,.pytest_cache,build,dist"
max-line-length = 89
max-complexity = 18
select = "B,C,E,F,W,T4,B9"