-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
.pre-commit-config.yaml
35 lines (35 loc) · 1000 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
30
31
32
33
34
35
fail_fast: true
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1 # Use the ref you want to point at
hooks:
- id: end-of-file-fixer
types: [markdown]
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 19.3b0
hooks:
- id: black
- repo: https://github.com/asottile/blacken-docs
rev: v1.10.0
hooks:
- id: blacken-docs
additional_dependencies: [black==19.3b0]
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.1.3
hooks:
- id: markdownlint-cli2
name: markdownlint-cli2
description: "Checks the style of Markdown/CommonMark files."
entry: markdownlint-cli2
language: node
types: [markdown]
minimum_pre_commit_version: 0.15.0
- repo: local
hooks:
- id: unittest
name: unittest
description: "Run the tests"
entry: python -m unittest tests/test.py
language: python
types: [python]