Add pre-commit configuration and update README for backend development

This commit is contained in:
Yoland Yan
2025-03-02 12:43:19 -08:00
parent 04cf0ccb51
commit ef0c2b0819
2 changed files with 32 additions and 0 deletions

13
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,13 @@
repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.241 # Use the desired version of Ruff
hooks:
- id: ruff
- repo: local
hooks:
- id: pytest
name: Run Pytest
entry: pytest
language: system
types: [python]