CoolFace
Apppublic

sscorp/ecosystem-intel

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
.pre-commit-config.yaml25 linesDownload Raw Back to root
1# Commit gates: no secrets ever reach a commit; ruff clean; pylint stays 10/10.2# One-time setup: pip install pre-commit && pre-commit install3# Run manually against everything: pre-commit run --all-files4repos:5  - repo: https://github.com/gitleaks/gitleaks6    rev: v8.30.07    hooks:8      - id: gitleaks9 10  - repo: https://github.com/astral-sh/ruff-pre-commit11    rev: v0.15.2012    hooks:13      - id: ruff-check14        args: [--fix]15      - id: ruff-format16 17  - repo: local18    hooks:19      - id: pylint20        name: pylint (10/10 gate)21        entry: python -m pylint backend/app backend/tests --fail-under=1022        language: system23        types: [python]24        pass_filenames: false25