mirror of
https://github.com/fastapi-practices/fastapi_best_architecture.git
synced 2026-03-13 09:31:31 +08:00
Update pre-commit to prek in pre-commit script (#949)
This commit is contained in:
@@ -74,8 +74,6 @@
|
||||
|
||||
- `pre_start.sh`: Perform automatic database migration
|
||||
|
||||
- `celery-start.sh`: For celery docker script, implementation is not recommended
|
||||
|
||||
- `scripts/format.sh`: Perform ruff format check
|
||||
|
||||
- `scripts/lint.sh`: Perform prek formatting
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
pre-commit run --all-files --verbose --show-diff-on-failure
|
||||
prek run --all-files --verbose --show-diff-on-failure
|
||||
|
||||
Reference in New Issue
Block a user