CoolFace
Apppublic

huggingface-projects/gemma-2-2b-it

sourceHugging Faceupdated 3mo agoView on Hugging Face
90likes
.pre-commit-config.yaml34 linesDownload Raw Back to root
1repos:2  - repo: https://github.com/pre-commit/pre-commit-hooks3    rev: v6.0.04    hooks:5      - id: check-executables-have-shebangs6      - id: check-json7      - id: check-merge-conflict8      - id: check-shebang-scripts-are-executable9      - id: check-toml10      - id: check-yaml11      - id: end-of-file-fixer12      - id: mixed-line-ending13        args: ["--fix=lf"]14      - id: requirements-txt-fixer15      - id: trailing-whitespace16  - repo: https://github.com/astral-sh/ruff-pre-commit17    rev: v0.15.818    hooks:19      - id: ruff-check20        args: ["--fix"]21      - id: ruff-format22  - repo: https://github.com/pre-commit/mirrors-mypy23    rev: v1.19.124    hooks:25      - id: mypy26        args: ["--ignore-missing-imports"]27        additional_dependencies:28          [29            "types-python-slugify",30            "types-pytz",31            "types-PyYAML",32            "types-requests",33          ]34