forked from raymondEhlers/alice-jet-hadron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
31 lines (31 loc) · 1 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
---
repos:
- repo: "https://gitlab.com/pycqa/flake8"
rev: 3.7.7 # 3.6.0 doesn't contain this configuration file.
hooks:
- id: flake8
additional_dependencies: ["flake8-colors"]
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.15.0
hooks:
- id: yamllint
# Use local mypy instead of the standard hook because we need other packages
# (ie. pachyderm and reaction_plane_fit). Otherwise, mypy will fail because
# it doesn't recognize the classes and types.
- repo: local
hooks:
- id: system
name: mypy
entry: mypy
language: system
types: [python]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.3.0
hooks:
- id: python-check-mock-methods
- id: rst-backticks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.1
hooks:
- id: trailing-whitespace
- id: check-executables-have-shebangs