summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: 4d771e13ef3b47f2520eb95d0d50bddd70e6929c (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: v6.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"]