-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
157 lines (137 loc) · 3.61 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
[tool.poetry]
name = "spacelaunchnow-server"
version = "4.5.2"
description = "The Backend and Web server for Space Launch Now"
authors = ["Caleb Jones <[email protected]>"]
readme = "README.md"
packages = [
{include = "app", from = "src"},
{include = "autoscaler", from = "src"},
{include = "spacelaunchnow", from = "src"},
{include = "web", from = "src"},
]
[tool.poetry.dependencies]
python = ">=3.12.0,<4.0"
boto3 = "==1.23.0"
botocore = "==1.26.0"
coverage = "==6.4.4"
Collectfast = "==2.2.0"
Django = "^4.2.14"
django-bootstrap4 = "==22.2"
django-bootstrap-form = "==3.4"
django-cachalot = "^2.6.1"
django-compat = "==1.0.15"
django-cors-headers = "==3.13.0"
django-cleanup = "==6.0.0"
django-debug-toolbar = "==4.4.6"
django-embed-video = "==1.4.10"
django-extensions = "==3.2.0"
django-filter = "==2.4.0"
django-health-check = "==3.16.7"
django-jenkins = "==0.110.0"
django-mathfilters = "==1.0.0"
django-robots = "==6.1"
django-storages = "==1.12.3"
django-tz-detect = "==0.4.0"
django-tables2 = "==2.4.1"
django-user-agents = "==0.4.0"
djangorestframework = "3.15.2"
djangorestframework-bulk = "0.2.1"
djangorestframework-queryfields = "1.0.0"
drf-spectacular = "^0.26.4"
goose3 = "==3.1.11"
gunicorn = "^22.0.0"
num2word = "==1.0.1"
pilkit = "==2.0"
Pillow = "==10.3.0"
pyfcm = "==2.0.6"
pytz = "==2022.2.1"
psycopg-binary = "^3.2.1"
python-digitalocean = "==1.17.0"
python-dateutil = "==2.8.2"
praw = "==7.6.0"
regex = "==2024.7.24 "
sorl-thumbnail = "==12.9.0"
sorl-thumbnail-serializer-field = "==0.2.1"
python-semantic-release = "7.34.6"
tzlocal = "==4.2"
django-launch-library = {version = "^21.0.0", source = "tsd"}
environs = "^9.5.0"
django-jet-reboot = "^1.3.3"
pymemcache = "^4.0.0"
sentry-sdk = {extras = ["django"], version = "^2.8.0"}
django-silk = "^5.1.0"
toml = "^0.10.2"
google-api-python-client = "^2.146.0"
google-auth = "^2.34.0"
google-auth-httplib2 = "^0.2.0"
google-auth-oauthlib = "^1.2.1"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
commitizen = "^2.37.0"
toml = "^0.10.2"
pre-commit = "^2.20.0"
radon = "^5.1.0"
vulture = "^2.6"
cohesion = "^1.0.0"
ruff = "^0.3.7"
[tool.poetry.group.ci]
optional = true
[tool.poetry.group.ci.dependencies]
unittest-xml-reporting = "==3.2.0"
[[tool.poetry.source]]
name = "tsd"
url = "https://pypi.spacelaunchnow.me/simple/"
priority = "supplemental"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
###############################################################################
#
# SEMANTIC RELEASE
#
###############################################################################
[tool.semantic_release]
version_variable = [
"src/version.py:__version__"
]
version_toml = [
"pyproject.toml:tool.poetry.version"
]
branch = "master"
upload_to_repository = false
upload_to_release = true
build_command = "pip install poetry && poetry build"
###############################################################################
#
# Commitizen
#
###############################################################################
[tool.commitizen]
name = "cz_conventional_commits"
version = "3.2.0"
tag_format = "v$version"
###############################################################################
#
# RUFF SETTINGS
#
###############################################################################
[tool.ruff]
line-length = 120
src = ["src"]
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]