-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (92 loc) · 2.28 KB
/
Copy pathpyproject.toml
File metadata and controls
99 lines (92 loc) · 2.28 KB
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
[project]
name = "puzzup-2025"
requires-python = ">=3.12"
[tool]
[tool.poetry]
name = "puzzup-2025"
version = "0.0.0"
description = "Puzzle development webapp"
authors = ["betaveros", "mitchgu", "jakob223", "dvorak42", "fortenforge", "Sandy Weisz", "James Sugrono", "teammate", "deathandmayhem"]
[tool.poetry.dependencies]
python = ">=3.12,<3.13"
asgiref = "^3.8.1"
beautifulsoup4 = "^4.12.3"
boto3 = "^1.35.90"
discord-interactions = "^0.4.0"
discord-py = "^2.4.0"
dj-database-url = "^2.3.0"
django = "^5.1.4"
django-debug-toolbar = "^4.4.6"
django-dirtyfields = "^1.9.5"
django-import-export = "^4.3.3"
django-ses = "^4.2.0"
gitpython = "^3.1.43"
google-api-python-client = "2.156.0"
gunicorn = {extras = ["gevent"], version = "^23.0.0"}
invoke = "^2.2.0"
ipython = "^8.31.0"
markdown = "^3.7"
matplotlib = "^3.10.0"
nh3 = "^0.2.20"
numpy = "^2.2.1"
Pillow = "^11.0.0"
psycopg = {extras = ["binary"], version = "^3.2.3"}
pymdown-extensions = "^10.12"
python-dotenv = "^1.0.1"
pyyaml = "^6.0.2"
requests = "^2.32.3"
sentry-sdk = "^2.19.0"
supervisor = "^4.2.5"
whitenoise = "^6.8.2"
[tool.poetry.group.dev.dependencies]
daphne = "^4.1.2"
django-stubs = {extras = ["compatible-mypy"], version = "^4.2.7"}
djhtml = "^3.0.7"
google-api-python-client-stubs = "^1.28.0"
google-auth-stubs = "^0.3.0"
mypy = "<1.8.0"
pre-commit = "^4.0.1"
pylint = "^3.3.3"
pylint-django = "^2.6.1"
pylsp-mypy = "^0.6.9"
ruff = "^0.8.4"
types-beautifulsoup4 = "^4.12.0.20241020"
types-boto3 = "^1.35.90"
types-markdown = "^3.7.0.20240822"
types-pillow = "^10.2.0.20240822"
types-requests = "^2.32.0.20241016"
[tool.ruff]
fix = true
line-length = 88
extend-exclude = ["puzzle_editing/migrations"]
[tool.ruff.lint]
# By default, includes E (pycodestyle error), F (pyflakes)
extend-select = [
"W",
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"DJ", # flake8-django
"ISC", # flake8-implicit-string-concat
"EM", # flake8-errmsg
"PIE",
"Q", # flake8-quotes
"SIM", # flake8-simplify
"PTH", # flake8-pathlib
"PL",
"RUF",
]
ignore = [
"ISC001",
"E501",
"SIM102",
"PLR091",
"PLR2004",
"DJ006",
]
allowed-confusables = ["–"]
[tool.mypy]
plugins = ["mypy_django_plugin.main"]
[tool.django-stubs]
django_settings_module = "settings.prod"