feat: 切换邮箱认证并重构前后端启动与门禁

This commit is contained in:
qzl
2026-04-02 18:39:35 +08:00
parent 92cdfd9fca
commit 31594558eb
116 changed files with 5608 additions and 628 deletions
+36
View File
@@ -0,0 +1,36 @@
repos:
- repo: local
hooks:
- id: backend-ruff
name: backend ruff check
entry: uv run ruff check backend/src backend/tests
language: system
pass_filenames: false
files: ^(backend/|pyproject\.toml|uv\.lock)
- id: backend-python-syntax
name: backend python syntax check
entry: uv run python -m py_compile
language: system
files: ^backend/.*\.py$
- id: backend-pytest
name: backend pytest
entry: uv run pytest backend/tests
language: system
pass_filenames: false
files: ^(backend/|pyproject\.toml|uv\.lock)
- id: apps-flutter-analyze
name: apps flutter analyze
entry: bash -lc 'cd apps && flutter analyze'
language: system
pass_filenames: false
files: ^apps/
- id: apps-flutter-test
name: apps flutter test
entry: bash -lc 'cd apps && flutter test'
language: system
pass_filenames: false
files: ^apps/