-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
57 lines (49 loc) · 1.3 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
[tool.poetry]
name = "hangul-tutor"
version = "0.1.0"
description = "A Hangul Typing Tutor"
authors = ["Joshua Szepietowski <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
Django = "^5.0.6"
djangorestframework = "^3.15.2"
uuid7 = "^0.1.0"
drf-spectacular = { extras = ["sidecar"], version = "^0.27.2" }
gunicorn = "^22.0.0"
celery = "^5.4.0"
redis = "^5.0.7"
django-allauth = { extras = ["socialaccount", "mfa"], version = "^0.63.6" }
psycopg2 = "^2.9.9"
whitenoise = "^6.7.0"
flower = "^2.0.1"
[tool.poetry.group.dev.dependencies]
isort = "^5.13.2"
pre-commit = "^3.7.1"
pytest = "^8.2.2"
pytest-django = "^4.8.0"
pyright = "^1.1.368"
ruff = "^0.4.10"
django-stubs = "^5.0.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 88
[tool.ruff.format]
docstring-code-format = true
exclude = ["**/migrations/**"]
[tool.django-stubs]
django_settings_module = "hangul_tutor.settings"
[tool.isort]
force_single_line = true # Force all imports to be on one line.
use_parentheses = true
line_length = 88
multi_line_output = 3
skip_gitignore = true
lines_after_imports = 2
honor_noqa = true
overwrite_in_place = true
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "hangul_tutor.settings"
python_files = "test_*.py *_test.py"