8 Star 46 Fork 19

FastAPI Practices/fastapi_best_architecture

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.pre-commit-config.yaml 905 Bytes
一键复制 编辑 原始数据 按行查看 历史
Wu Clan 提交于 2026-02-05 14:47 +08:00 . Add tombi and plugin JSON schema config (#1062)
default_language_version:
python: '>= 3.10'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: end-of-file-fixer
- id: check-json
- id: check-yaml
- id: check-toml
- repo: https://github.com/tombi-toml/tombi-pre-commit
rev: v0.7.26
hooks:
- id: tombi-lint
args: ["--offline"]
- id: tombi-format
args: ["--offline"]
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.15.0
hooks:
- id: ruff-check
args:
# https://github.com/astral-sh/ruff-pre-commit/issues/64
- '--fix'
- '--unsafe-fixes'
- id: ruff-format
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.9.29
hooks:
- id: uv-lock
- id: uv-export
args:
- '-o'
- 'requirements.txt'
- '--no-hashes'
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/fastapi-practices/fastapi_best_architecture.git
git@gitee.com:fastapi-practices/fastapi_best_architecture.git
fastapi-practices
fastapi_best_architecture
fastapi_best_architecture
master

搜索帮助