-
Notifications
You must be signed in to change notification settings - Fork 702
/
.pre-commit-config.yaml
33 lines (30 loc) · 1.01 KB
/
.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
30
31
32
33
# To use these pre-commit hooks you should first install https://pre-commit.com
# and then run "pre-commit install" in the root folder of your local clone
# so the hooks are deployed to .git/hooks
#
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
#
# the pep8 custom config (e.g. custom line length) is defined in file .pep8
# https://pep8.readthedocs.io/en/release-1.7.x/intro.html#configuration
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
sha: v1.2.0
hooks:
- id: autopep8-wrapper
name: 'autopep8-wrapper (.eb)'
types: [file]
files: \.eb$
- id: check-ast
name: 'check-ast (.eb)'
types: [file]
files: \.eb$
- id: autopep8-wrapper
- id: check-ast
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-merge-conflict
- repo: https://github.com/easybuilders/pre-commit-hooks-easybuild
sha: v0.1
hooks:
- id: check-old-easybuild-url