mirror of
https://github.com/fastapi-practices/fastapi_best_architecture.git
synced 2026-03-13 09:31:31 +08:00
32 lines
716 B
YAML
32 lines
716 B
YAML
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/charliermarsh/ruff-pre-commit
|
|
rev: v0.14.13
|
|
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.26
|
|
hooks:
|
|
- id: uv-lock
|
|
- id: uv-export
|
|
args:
|
|
- '-o'
|
|
- 'requirements.txt'
|
|
- '--no-hashes'
|