• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# File introduces automated checks triggered on git events
2# to enable run `pip install pre-commit && pre-commit install`
3
4repos:
5  - repo: local
6    hooks:
7      - id: yapf
8        name: yapf
9        language: python
10        entry: yapf
11        args: [-i, -vv]
12        types: [python]
13  - repo: https://github.com/pre-commit/pre-commit-hooks
14    rev: v3.2.0
15    hooks:
16      - id: trailing-whitespace
17      - id: check-docstring-first
18      - id: check-json
19      - id: check-added-large-files
20      - id: check-yaml
21      - id: debug-statements
22      - id: requirements-txt-fixer
23      - id: check-merge-conflict
24      - id: double-quote-string-fixer
25      - id: end-of-file-fixer
26      - id: sort-simple-yaml
27  - repo: meta
28    hooks:
29      - id: check-hooks-apply
30      - id: check-useless-excludes
31