-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (67 loc) · 2.01 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (67 loc) · 2.01 KB
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
[tool.poetry]
name = "velog-dashboard-v2-back-office"
version = "0.1.0"
description = "Velog Dashboard Project, velog의 모든 게시글, 통계 데이터를 한 눈에 편하게 확인할 수 있는 대시보드입니다."
authors = ["BDlhj <akk808@snu.ac.kr>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.13"
django = "^5.2"
django-cors-headers = "^4.6.0"
django-environ = "^0.11.2"
cryptography = "^43.0.3"
django-timescaledb = "^0.2.13"
psycopg = { extras = ["binary"], version = "^3.2.3" }
aiohttp = "^3.11.10"
aiohttp-retry = "^2.9.1"
uvicorn = "^0.34.0"
gunicorn = "^23.0.0"
async-timeout = "^5.0.1"
sentry-sdk = "^2.24.1"
macwinua = "^0.5.250826"
openai = "^1.78.1"
boto3 = "^1.38.30"
botocore = "^1.38.30"
redis = "^5.0.0"
tenacity = "^9.1.4"
[tool.poetry.group.dev.dependencies]
ruff = "^0.7.4"
pytest = "^8.3.3"
mypy = "^1.13.0"
pytest-cov = "^6.0.0"
django-debug-toolbar = "^4.4.6"
django-extensions = "^3.2.3"
pre-commit = "^4.0.1"
ipython = "^8.29.0"
pytest-django = "^4.9.0"
pytest-asyncio = "^0.25.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "backoffice.settings.local"
python_files = ["test_*.py"]
filterwarnings = [
"ignore::pytest.PytestDeprecationWarning",
"ignore:Error when trying to teardown test databases:pytest.PytestWarning",
]
asyncio_mode = "strict"
[tool.mypy]
python_version = "3.13"
files = ["scraping/", "modules/", "consumer/"]
exclude = ".*/tests?/.*|.*/test?/.*|.*/migrations/.*"
pretty = true
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
# import-untyped: 타입 스텁이 없는 라이브러리 import 에러 무시
disable_error_code = ["import-untyped"]
# redis-py 5.x는 py.typed 마커가 있지만 타입 힌트가 불완전함
# https://github.com/redis/redis-py/issues/1717
[[tool.mypy.overrides]]
module = "redis.*"
ignore_missing_imports = true
ignore_errors = true
[[tool.mypy.overrides]]
module = "modules.mail.ses.client"
ignore_errors = true