Skip to content

Commit 68f007f

Browse files
committed
Bump dependencies and pre-commits
1 parent 9fef37c commit 68f007f

File tree

6 files changed

+57
-146
lines changed

6 files changed

+57
-146
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ repos:
33
rev: v6.0.0
44
hooks:
55
- id: end-of-file-fixer
6+
- id: check-json
67
- id: check-yaml
78
- id: check-toml
89

backend/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@
5050

5151
4. Format and Lint
5252

53-
Auto-formatting and lint via `pre-commit`
53+
Auto-formatting and lint via `prek`
5454

5555
```shell
56-
pre-commit run --all-files
56+
prek run --all-files
5757
```
5858

5959
5. Commit and push
@@ -78,6 +78,6 @@
7878

7979
- `scripts/format.sh`: Perform ruff format check
8080

81-
- `scripts/lint.sh`: Perform pre-commit formatting
81+
- `scripts/lint.sh`: Perform prek formatting
8282

8383
- `scripts/export.sh`: Execute uv export dependency package

backend/scripts/lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/usr/bin/env bash
22

3-
pre-commit run --all-files
3+
prek run --all-files

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies = [
1717
"asyncmy>=0.2.10",
1818
"asyncpg>=0.30.0",
1919
"bcrypt>=5.0.0",
20-
"cappa>=0.30.2",
20+
"cappa>=0.30.4",
2121
"celery>=5.5.3",
2222
# When celery version < 6.0.0
2323
# https://github.com/celery/celery/issues/7874
@@ -27,10 +27,10 @@ dependencies = [
2727
"fast-captcha>=0.3.2",
2828
"fastapi-limiter>=0.1.6",
2929
"fastapi-pagination>=0.15.0",
30-
"fastapi[standard-no-fastapi-cloud-cli]>=0.120.2",
30+
"fastapi[standard-no-fastapi-cloud-cli]>=0.121.1",
3131
"flower>=2.0.1",
3232
"gevent>=25.9.1",
33-
"granian>=2.5.5",
33+
"granian>=2.5.7",
3434
"ip2loc>=1.0.0",
3535
"itsdangerous>=2.2.0",
3636
"jinja2>=3.1.6",
@@ -47,7 +47,7 @@ dependencies = [
4747
"python-socketio>=5.14.3",
4848
"redis[hiredis]>=7.0.1",
4949
"rtoml>=0.13.0",
50-
"sqlalchemy-crud-plus>=1.13.0",
50+
"sqlalchemy-crud-plus>=1.13.1",
5151
"sqlalchemy[asyncio]>=2.0.44",
5252
"sqlparse>=0.5.3",
5353
"starlette-context>=0.4.0",
@@ -56,11 +56,11 @@ dependencies = [
5656

5757
[dependency-groups]
5858
dev = [
59-
"pytest>=8.4.0",
59+
"pytest>=9.0.0",
6060
"pytest-sugar>=1.1.1",
6161
]
6262
lint = [
63-
"pre-commit>=4.3.0",
63+
"prek>=0.2.13",
6464
]
6565
server = [
6666
"aio-pika>=9.5.7",

requirements.txt

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ cffi==2.0.0 ; platform_python_implementation != 'PyPy'
4747
# via
4848
# cryptography
4949
# gevent
50-
cfgv==3.4.0
51-
# via pre-commit
5250
click==8.3.0
5351
# via
5452
# celery
@@ -73,8 +71,6 @@ colorama==0.4.6 ; sys_platform == 'win32'
7371
# uvicorn
7472
cryptography==46.0.3
7573
# via fastapi-best-architecture
76-
distlib==0.4.0
77-
# via virtualenv
7874
dnspython==2.8.0
7975
# via email-validator
8076
dulwich==0.24.8
@@ -89,7 +85,7 @@ exceptiongroup==1.3.0 ; python_full_version < '3.11'
8985
# pytest
9086
fast-captcha==0.3.2
9187
# via fastapi-best-architecture
92-
fastapi==0.121.0
88+
fastapi==0.121.1
9389
# via
9490
# fastapi-best-architecture
9591
# fastapi-limiter
@@ -100,8 +96,6 @@ fastapi-limiter==0.1.6
10096
# via fastapi-best-architecture
10197
fastapi-pagination==0.15.0
10298
# via fastapi-best-architecture
103-
filelock==3.20.0
104-
# via virtualenv
10599
flower==2.0.1
106100
# via fastapi-best-architecture
107101
gevent==25.9.1
@@ -127,8 +121,6 @@ httpx==0.28.1
127121
# via fastapi
128122
humanize==4.14.0
129123
# via flower
130-
identify==2.6.15
131-
# via pre-commit
132124
idna==3.11
133125
# via
134126
# anyio
@@ -160,19 +152,15 @@ mdurl==0.1.2
160152
# via markdown-it-py
161153
msgspec==0.19.0
162154
# via fastapi-best-architecture
163-
nodeenv==1.9.1
164-
# via pre-commit
165155
packaging==25.0
166156
# via
167157
# kombu
168158
# pytest
169159
pillow==12.0.0
170160
# via fast-captcha
171-
platformdirs==4.5.0
172-
# via virtualenv
173161
pluggy==1.6.0
174162
# via pytest
175-
pre-commit==4.3.0
163+
prek==0.2.13
176164
prometheus-client==0.23.1
177165
# via flower
178166
prompt-toolkit==3.0.52
@@ -208,7 +196,7 @@ pygments==2.19.2
208196
# rich
209197
pymysql==1.1.2
210198
# via fastapi-best-architecture
211-
pytest==8.4.2
199+
pytest==9.0.0
212200
# via pytest-sugar
213201
pytest-sugar==1.1.1
214202
python-dateutil==2.9.0.post0
@@ -228,9 +216,7 @@ python-socketio==5.14.3
228216
pytz==2025.2
229217
# via flower
230218
pyyaml==6.0.3
231-
# via
232-
# pre-commit
233-
# uvicorn
219+
# via uvicorn
234220
redis==7.0.1
235221
# via
236222
# fastapi-best-architecture
@@ -246,8 +232,6 @@ rsa==4.9.1
246232
# via python-jose
247233
rtoml==0.13.0
248234
# via fastapi-best-architecture
249-
setuptools==80.9.0
250-
# via zope-event
251235
shellingham==1.5.4
252236
# via typer
253237
simple-websocket==1.1.0
@@ -263,7 +247,7 @@ sqlalchemy==2.0.44
263247
# alembic
264248
# fastapi-best-architecture
265249
# sqlalchemy-crud-plus
266-
sqlalchemy-crud-plus==1.13.0
250+
sqlalchemy-crud-plus==1.13.1
267251
# via fastapi-best-architecture
268252
sqlparse==0.5.3
269253
# via fastapi-best-architecture
@@ -306,7 +290,6 @@ typing-extensions==4.15.0
306290
# typer
307291
# typing-inspection
308292
# uvicorn
309-
# virtualenv
310293
typing-inspection==0.4.2
311294
# via
312295
# pydantic
@@ -334,8 +317,6 @@ vine==5.1.0
334317
# amqp
335318
# celery
336319
# kombu
337-
virtualenv==20.35.4
338-
# via pre-commit
339320
watchfiles==1.1.1
340321
# via uvicorn
341322
wcwidth==0.2.14
@@ -346,7 +327,7 @@ win32-setctime==1.2.0 ; sys_platform == 'win32'
346327
# via loguru
347328
wsproto==1.2.0
348329
# via simple-websocket
349-
zope-event==6.0
330+
zope-event==6.1
350331
# via gevent
351332
zope-interface==8.0.1
352333
# via gevent

0 commit comments

Comments
 (0)