-
Notifications
You must be signed in to change notification settings - Fork 57
/
pyproject.toml
192 lines (182 loc) · 4.88 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
[project]
name = "pretalx"
dynamic = ["version"]
description = "Conference organisation: CfPs, scheduling, much more"
readme = "README.rst"
requires-python = ">=3.11"
keywords = ["conference", "event", "schedule", "talk", "cfp"]
authors = [
{name = "Tobias Kunze", email = "[email protected]"},
]
maintainers = [
{name = "Tobias Kunze", email = "[email protected]"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"Intended Audience :: Other Audience",
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved",
"Programming Language :: Python :: 3.11",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
]
dependencies = [
"beautifulsoup4[lxml]~=4.12.0",
"bleach~=6.2.0",
"celery~=5.4.0",
"css_inline~=0.14.0",
"csscompressor~=0.9.0",
"cssutils~=2.11.0",
"defusedcsv~=2.0.0",
"defusedxml~=0.7.0",
"Django[argon2]~=5.1.0",
"django-compressor~=4.5.0",
"django-context-decorator",
"django-countries~=7.0",
"django-csp~=3.8.0",
"django-filter==24.3",
"django-formset-js-improved==0.5.0.3",
"django-formtools~=2.5.1",
"django-hierarkey~=1.2.0",
"django-i18nfield~=1.9.0",
"django-libsass~=0.8",
"django-scopes~=2.0.0",
"django-pdb~=0.6.2",
"djangorestframework~=3.15.0",
"libsass~=0.23.0",
"Markdown~=3.7.0",
"Pillow~=11.0.0",
"publicsuffixlist~=1.0.0",
"python-dateutil~=2.9.0",
"qrcode~=8.0",
"reportlab~=4.2.0",
"requests~=2.32.0",
"rules~=3.5.0",
"urlman~=2.0.1",
"vobject~=0.9.0",
"whitenoise~=6.8.0",
"zxcvbn~=4.4.0",
'pretalx_pages @ git+https://github.com/fossasia/eventyay-talk-pages.git@main',
'pretalx_venueless @ git+https://github.com/fossasia/eventyay-talk-video.git@main',
'pretalx-downstream @ git+https://github.com/fossasia/eventyay-talk-downstream.git@main',
"django-allauth~=0.63.3",
"PyJWT~=2.8.0",
'django-oauth-toolkit==2.4.*',
'requests-oauthlib==2.*',
'psycopg2-binary==2.9.10',
'oauthlib==3.2.*',
]
[project.optional-dependencies]
dev = [
"black",
"build",
"check-manifest",
"coverage",
"djhtml",
"Faker",
"flake8",
"flake8-bugbear",
"freezegun",
"isort",
"jsonschema",
"lxml",
"pytest",
"pytest-cov",
"pytest-django",
"pytest-mock",
"pytest-rerunfailures",
"pytest-sugar",
"pytest-xdist",
"pywatchman",
"responses",
"urllib3",
]
postgres = ["psycopg2-binary~=2.9.0"]
redis = ["redis~=5.2.0"]
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools", "wheel"]
[project.urls]
Homepage = "https://eventyay.com"
Documentation = "https://docs.eventyay.org"
Repository = "https://github.com/fossasia/eventyay-talk"
Changelog = "https://docs.eventyay.org/changelog/"
Issues = "https://github.com/fossasia/eventyay-talk/issues"
[tool.setuptools]
include-package-data = true
[tool.setuptools.dynamic]
version = {attr = "pretalx.__version__"}
[tool.setuptools.packages.find]
where = ["src"]
include = ["pretalx*"]
exclude = ["pretalx/frontend/node_modules"]
namespaces = false
[tool.check-manifest]
ignore = [
".*",
"assets/*",
"CODE_OF_CONDUCT.md",
"CONTRIBUTORS",
"docs/*",
"src/.watchmanconfig",
"src/local/*",
"src/tests",
"src/tests/*",
"SECURITY.md",
]
[tool.djlint]
blank_line_after_tag="load,extends,include"
blank_line_before_tag="load,extends,include"
close_void_tags=false
extend_exclude="static,docs"
max_blank_lines=1
preserve_blank_lines=1
profile="django"
[tool.pyright]
venv = "pretalx"
exclude = [
"src/pretalx/frontend/",
"src/pretalx/static/",
"src/pretalx/locale/",
"src/pretalx/settings.py",
"src/pretalx/common/settings/test_settings.py",
"src/local/",
"build/",
"doc/*",
"**/.*",
"**/__pycache__",
]
# We don’t use types, Django doesn’t have good pyright support even with django-types.
# So we disable type checking, and then manually re-enable useful checks.
# Refer to https://github.com/microsoft/pyright/blob/main/docs/configuration.md#diagnostic-settings-defaults
# for the full list of settings.
typeCheckingMode = "off"
# pyright doesn’t understand optional imports
reportMissingImports = false
enableReachabilityAnalysis = true
reportAssertAlwaysTrue = true
reportInvalidStringEscapeSequence = true
reportSelfClsParameterName = true
reportUnsupportedDunderAll = true
reportUnusedExpression = true
reportWildcardImportFromLibrary = true
reportAbstractUsage = true
reportInconsistentOverload = true
reportNoOverloadImplementation = true
reportRedeclaration = true
reportUnboundVariable = true
reportUnhashable = true
reportUnusedExcept = true
reportOverlappingOverload = true
reportPossiblyUnboundVariable = true
reportDeprecated = true
reportMatchNotExhaustive = true
reportUnnecessaryCast = true
reportUnnecessaryContains = true
reportUnusedClass = true
reportUnusedFunction = true
reportUnusedVariable = true
reportCallInDefaultInitializer = true
reportShadowedImports = true