summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: 7dcae7def90af84940a2407263118360fe93a327 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Pre-commit hooks for pyvyos
# Install: pip install pre-commit && pre-commit install
# Run manually: pre-commit run --all-files

repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v5.0.0
    hooks:
      - id: trailing-whitespace
      - id: end-of-file-fixer
      - id: check-yaml
      - id: check-toml
      - id: check-merge-conflict
      - id: check-added-large-files
        args: ["--maxkb=500"]
      - id: mixed-line-ending
        args: ["--fix=lf"]