forked from pycontw/pycon.tw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
88 lines (78 loc) · 1.63 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
[tool.poetry]
name = "pycontw-backend"
version = "0.1.0"
description = "The API backend and proposal system of PyCon TW website."
authors = ["PyCon TW Web Team <dev@python.tw>"]
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "~3.10.0"
Django = "3.2.25"
crispy-bootstrap3 = "2024.1"
dj-registry = "0.2.2"
django-cors-headers = "4.3.1"
django-compressor = "4.4"
django-compressor-toolkit = "0.6.0"
django-crispy-forms = "2.0"
django-environ = "0.11.2"
django-extensions = "3.2.3"
django-import-export = "3.3.8"
django-modeltranslation = "0.18.11"
django-storages = "1.14.2"
djangorestframework = "3.15.1"
google-cloud-storage = "1.44.0"
ipython = "8.23.0"
lxml = "4.9.4"
psycopg2 = "2.9.9"
pytz = "2024.1"
requests = "2.32.0"
sorl-thumbnail = "12.10.0"
tabulate = "0.9.0"
uwsgi = "2.0.24"
Pillow = "10.3.0"
[tool.poetry.group.dev.dependencies]
cssselect = "1.2.0"
django-debug-toolbar = "4.3.0"
pytest = "8.1.1"
pytest-cov = "5.0.0"
pytest-django = "4.8.0"
pytest-mock = "3.14.0"
pytest-xdist = "3.5.0"
ruff = "0.3.5"
Werkzeug = "3.0.3"
[tool.ruff]
exclude = [
".git",
"__pycache__",
"migrations"
]
line-length = 120
[tool.ruff.lint]
ignore = [
"E251",
]
select = [
"E", # pycodestyle error
"W", # pycodestyle warning
"F", # Pyflakes
"I001", # isort
"N", # pep8-naming
"B", # bugbear
"UP", # pyupgrade
]
[tool.ruff.lint.isort]
known-first-party = [
"attendee",
"ccip",
"core",
"events",
"postgres",
"proposals",
"pycontw2016",
"reviews",
"sponsors",
"users"
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"