chirp/.pre-commit-config.yaml
Dan Smith 68f6a46f5c Add a basic pre-commit config
Also fix some things it cleaned up in default config.
2023-10-02 17:12:42 -07:00

24 lines
547 B
YAML

# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
exclude_types:
- binary
exclude: \.img$
- id: end-of-file-fixer
exclude_types:
- binary
exclude: \.img$
- id: check-yaml
- repo: local
hooks:
- id: pep8
verbose: true
name: pep8
entry: env PATH=.tox/style/bin python tools/cpep8.py
files: \.py$
language: python