-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
78 lines (68 loc) · 1.44 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
[tool.poetry]
name = "insights-engine"
version = "0.1.0"
description = ""
authors = []
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
django = "^5.0.3"
djangorestframework = "^3.15.1"
pre-commit = "^3.7.0"
psycopg = {extras = ["pool"], version = "^3.1.19"}
factory-boy = "^3.3.0"
gevent = "^24.2.1"
django-environ = "^0.11.2"
whitenoise = "^6.6.0"
mozilla-django-oidc = "^4.0.1"
django-cors-headers = "4.3.1"
amqp = "^5.2.0"
sentry-sdk = "^1.44.0"
gunicorn = "^22.0.0"
drf-spectacular = "^0.27.2"
django-filter = "^24.2"
pytz = "^2024.1"
django-redis = "^5.4.0"
redis = "^5.2.0"
responses = "^0.25.3"
[tool.poetry.group.dev.dependencies]
ipython = "^8.22.2"
isort = "^5.13.2"
flake8 = "^7.0.0"
black = "^24.3.0"
pytest = "^8.1.1"
pytest-django = "^4.8.0"
pytest-cov = "^5.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
extend-exclude = '''
(
migrations/
| manage.py
| settings.py
| __init__.py
)
'''
[tool.isort]
profile = "black"
line_length = 79
extend_skip = ['migrations', 'manage.py', 'wsgi.py', 'asgi.py', '__init__.py']
[flake8]
max-line-length=79
[tool.coverage.report]
omit = [
"settings.py",
"asgi.py",
"wsgi.py",
"__init__.py",
"migrations/",
"manage.py",
"insights/urls.py",
]
[tool.pytest.ini_options]
pythonpath = "."
python_files = "tests.py test_*.py *_tests.py"
DJANGO_SETTINGS_MODULE = "insights.settings"
addopts = "--cov"