forked from aerleon/aerleon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
29 lines (29 loc) · 806 Bytes
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
default_language_version:
python: python3.10
exclude: '\.ref$'
repos:
# - repo: https://github.com/python/black.git
# rev: 22.8.0
# hooks:
# - id: black
- repo: https://github.com/john-hen/Flake8-pyproject
rev: 1.1.0
hooks:
- id: Flake8-pyproject
additional_dependencies:
- flake8-black>=0.1.1
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-executables-have-shebangs
- id: debug-statements
- id: detect-private-key
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-yaml
- id: no-commit-to-branch
args: [--branch, main]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.9.0
hooks:
- id: text-unicode-replacement-char