Livrare LOT 1 - Didi
This commit is contained in:
commit
5380c3fc63
990 changed files with 133308 additions and 0 deletions
34
ai_platform/.pre-commit-config.yaml
Normal file
34
ai_platform/.pre-commit-config.yaml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Pre-commit hooks configuration
|
||||
# Install: pre-commit install
|
||||
# Run manually: pre-commit run --all-files
|
||||
|
||||
repos:
|
||||
# Ruff - Python linting and formatting
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.8.6
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: [--fix, --exit-non-zero-on-fix]
|
||||
- id: ruff-format
|
||||
|
||||
# General file checks
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v5.0.0
|
||||
hooks:
|
||||
- id: check-yaml
|
||||
args: [--unsafe] # Allow custom YAML tags (e.g., for docker-compose)
|
||||
- id: check-toml
|
||||
- id: check-json
|
||||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
||||
- id: check-added-large-files
|
||||
args: [--maxkb=1000]
|
||||
- id: check-merge-conflict
|
||||
- id: detect-private-key
|
||||
|
||||
# Type checking (optional - uncomment when ready)
|
||||
# - repo: https://github.com/pre-commit/mirrors-mypy
|
||||
# rev: v1.13.0
|
||||
# hooks:
|
||||
# - id: mypy
|
||||
# additional_dependencies: []
|
||||
Loading…
Add table
Add a link
Reference in a new issue