-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
77 lines (70 loc) · 1.75 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
[tool.poetry]
name = "timur-backend"
version = "0.1.0"
description = ""
authors = ["tc-dev <[email protected]>"]
license = "GNU Affero General Public License v3.0"
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.12"
requests = "*"
django-environ = "*"
Django = ">=4.2,<4.3"
drf-writable-nested = "*"
djangorestframework = "*"
psycopg2-binary = "==2.9.9"
django-cors-headers = "*"
django-premailer = "*"
django-storages = "*"
django-admin-autocomplete-filter = "*"
strawberry-graphql-django = {extras = ["strawberry-graphql"], version = "0.47.1"}
sentry-sdk = "*"
ipython = "*"
factory-boy = "*"
user-agents = "*"
django-ses = "3"
celery = {extras = ["redis"], version = "^5.3.4"}
django-redis = "^5.3.0"
django-reversion = "*"
uwsgi = "*"
aws-sns-message-validator = "*"
[tool.poetry.dev-dependencies]
dacite = "*"
pytest = "*"
pytest-profiling = "*"
pytest-ordering = "*"
pytest-django = "*"
django-stubs = "==4.2.6" # NOTE: 4.2.7 is messing with TextChoices/IntergerChoices
djangorestframework-stubs = { version = "*", allow-prereleases = true }
celery-types = "*"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "main.settings"
log_cli = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 125
# NOTE: Update in .pre-commit-config.yaml as well
extend-exclude = "(__pycache__|.*snap_test_.*\\.py|.+\\/.+\\/migrations\\/.*)"
[tool.isort]
profile = "black"
multi_line_output = 3
skip = [
"**/__pycache__",
"**/snap_test_*.py",
".venv/",
"**/migrations/*.py",
]
[tool.pyright]
exclude = [
"**/__pycache__",
"**/snap_test_*.py",
".venv/",
"**/migrations/*.py",
]
reportMissingImports = true
reportMissingTypeStubs = false
venvPath = "."
venv = ".venv"