This repository has been archived by the owner on Sep 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
113 lines (103 loc) · 2.28 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[tool.poetry]
name = "teamup_backend"
version = "0.1.0"
description = "赛道友你"
authors = ["Nagico <[email protected]>"]
readme = "README.md"
#[[tool.poetry.source]]
#name = "tsinghua"
#default = true
#url = "https://pypi.tuna.tsinghua.edu.cn/simple"
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
django = "^4.2.1"
djangorestframework = "^3.14.0"
django-cors-headers = "^3.13.0"
drf-spectacular = "^0.25.1"
django-filter = "^22.1"
django-simpleui = "^2022.12.18"
mysqlclient = "^2.1.1"
pillow = "^9.3.0"
drf-extensions = "^0.7.1"
django-method-override = "^1.0.4"
pycryptodome = "^3.16.0"
django-split-settings = "^1.2.0"
django-stubs-ext = "^0.7.0"
python-decouple = "^3.6"
loguru = "^0.6.0"
redis = "^4.4.0"
django-extensions = "^3.2.1"
werkzeug = "^2.2.2"
django-cache-url = "^3.4.4"
dj-database-url = "^1.2.0"
hiredis = "^2.1.0"
django-cleanup = "^6.0.0"
django-cacheops = "^6.1"
zq-django-util = "^0.2.2"
zq-auth-sdk = "^0.1.0"
wechatpy = "^1.8.18"
sentry-sdk = "^1.12.1"
celery = "^5.2.7"
django-celery-results = "^2.4.0"
django-celery-beat = "^2.4.0"
flower = "^1.2.0"
meilisearch = "^0.26.0"
pika = "^1.3.1"
[tool.poetry.group.test.dependencies]
pytest = "^7.2.1"
pytest-cov = "^4.0.0"
pytest-django = "^4.5.2"
pytest-mock = "^3.10.0"
model-bakery = "^1.10.1"
pytest-xdist = "^3.2.0"
black = "^22.12.0"
isort = "^5.11.4"
flake8-pyproject = "^1.2.2"
[tool.poetry.group.dev.dependencies]
pre-commit = "^2.20.0"
black = "^22.12.0"
isort = "^5.11.4"
django-debug-toolbar = "^3.8.1"
django-querycount = "^0.7.0"
nplusone = "^1.0.0"
ipython = "^8.7.0"
django-migration-linter = "^4.1.0"
django-extra-checks = "^0.13.3"
pytest = "^7.2.1"
pytest-cov = "^4.0.0"
pytest-django = "^4.5.2"
pytest-mock = "^3.10.0"
model-bakery = "^1.10.1"
pytest-xdist = "^3.2.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 80
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| migrations
)/
'''
[tool.isort]
profile = "black"
skip = ["migrations"]
include_trailing_comma = true
use_parentheses = true
multi_line_output = 3
line_length = 80
[tool.flake8]
ignore = ['E203', 'E266', 'E501', 'W503']
max-line-length = 80
max-complexity = 18
select = ['B', 'C', 'E', 'F', 'W', 'T4']