-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
126 lines (113 loc) · 2.96 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
114
115
116
117
118
119
120
121
122
123
124
125
126
[tool.poetry]
name = "fiesta-plus"
version = "0.0.1"
description = "New generation of social network for helping international students - used by sections of Erasmus Student Network."
authors = ["ESN VUT BRNO"]
[tool.poetry.dependencies]
python = "^3.12"
Django = "^4.2"
Pillow = "^10.1.0"
bcrypt = "^3.2.0"
# 0.55.0 not compatible with allauth-cas
django-allauth = "0.54.0"
# support for dj4.0
django-allauth-cas = { git = "https://github.com/thejoeejoee/django-allauth-cas", branch = "master" }
django-click = "^2.3.0"
django-configurations = "^2.4.2"
django-countries = "^7.2.1"
django-extensions = "^3.1.5"
django-filter = "^21.1"
django-htmx = "^1.14.0"
django-lifecycle = "^1.0.0"
django-loginas = "^0.3.10"
django-model-path-converter = "^0.1.0"
django-polymorphic = "^3.1.0"
django-tables2 = "^2.5.3"
django-webpack-loader = "^3.1.1"
elasticsearch = "^7.17.0"
factory-boy = "^3.2.1"
mysqlclient = "^2.1.0"
psycopg2-binary = "^2.9.3"
python-magic = "^0.4.25"
tablib = { extras = ["xlsx"], version = "^3.2.1" }
faker_education = "^1.2"
django-select2 = "^7.10.0"
django-debug-toolbar = "^4.4.6"
django-watchfiles = "^0.2.0"
django-autocomplete-light = "^3.9.4"
django-phonenumber-field = { extras = ["phonenumberslite"], version = "^6.3.0" }
requests = "^2.31.0"
beautifulsoup4 = "^4.12.1"
django-editorjs = "^0.2.1"
django-editorjs-fields = "^0.2.7"
django-mptt = "^0.16.0"
# TODO: when bumped to 1.14.4, urls are broken with 404s
django-storages = {version = "1.14.2", extras = ["s3"]}
dj-database-url = "^2.0.0"
django-health-check = "^3.17.0"
django-money = "^3.2.0"
gunicorn = "^23.0.0"
django-location-field = "^2.7.2"
sentry-sdk = {extras = ["django"], version = "^2.14.0"}
django-admin-env-notice = "^1.0"
cryptography = "^43.0.0"
django-admin-relation-links = "^0.2.5"
django-mailer = "^2.3.1"
[tool.poetry.dev-dependencies]
pre-commit = "^2.17.0"
pydotplus = "^2.0.2"
faker_education = "^1.2"
pydot = "^1.4.2"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.isort]
profile = 'black'
lines_between_types = 0
combine_as_imports = true
line_length = 120
known_first_party = ["fiesta", "apps"]
known_local_folder = ["apps"]
known_third_party = ["django"]
skip = ["migrations"]
[tool.black]
line-length = 120
target-version = ['py311']
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| migrations
| build
| dist
)/
'''
[tool.ruff]
# see https://beta.ruff.rs/docs/rules/
extend-select = ["UP", "DJ", "PIE", "INT", "PTH", "SIM", "RET", "G", "DTZ", "B", "I002"]
line-length = 120
target-version = "py311"
ignore = ["E731"]
exclude = [
"migrations",
]
[tool.ruff.isort]
required-imports = ["from __future__ import annotations"]
[tool.vulture]
paths = ["fiesta"]
exclude = ["settings"]
min_confidence = 80
make_whitelist = true
[tool.djlint]
profile = "django"
reformat = true
ignore = ["H017"]
indent = 2
blank_line_after_tag = ""
blank_line_before_tag = ""
format_attribute_template_tags = true
preserve_blank_lines = true