mirror of
https://github.com/craigerl/aprsd.git
synced 2024-11-17 22:01:49 -05:00
Hemna
75f610d971
This patch adds pre-commit hook support to ensure code passes basic checks prior to allowing a commit.
19 lines
434 B
YAML
19 lines
434 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v3.2.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
- repo: https://github.com/psf/black
|
|
rev: 19.3b0
|
|
hooks:
|
|
- id: black
|
|
|
|
- repo: https://gitlab.com/pycqa/flake8
|
|
rev: 3.8.1
|
|
hooks:
|
|
- id: flake8
|
|
additional_dependencies: [flake8-bugbear]
|