Skip to content

Commit d663c47

Browse files
committed
Update pre-commit config
1 parent d21ffce commit d663c47

1 file changed

Lines changed: 21 additions & 20 deletions

File tree

.pre-commit-config.yaml

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
repos:
2-
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v3.3.0
4-
hooks:
5-
- id: check-ast
6-
- id: check-byte-order-marker
7-
- id: check-case-conflict
8-
- id: check-docstring-first
9-
- id: check-executables-have-shebangs
10-
- id: check-merge-conflict
11-
- id: check-yaml
12-
- id: end-of-file-fixer
13-
- id: fix-encoding-pragma
14-
- id: mixed-line-ending
15-
- id: no-commit-to-branch
16-
- id: trailing-whitespace
17-
args: [--markdown-linebreak-ext=md]
18-
- repo: https://github.com/python/black
19-
rev: 20.8b1
20-
hooks:
21-
- id: black
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v3.4.0
4+
hooks:
5+
- id: check-ast
6+
- id: check-byte-order-marker
7+
- id: check-case-conflict
8+
- id: check-docstring-first
9+
- id: check-executables-have-shebangs
10+
- id: check-merge-conflict
11+
- id: check-yaml
12+
- id: end-of-file-fixer
13+
- id: fix-encoding-pragma
14+
- id: mixed-line-ending
15+
- id: no-commit-to-branch
16+
args: [--branch, main]
17+
- id: trailing-whitespace
18+
args: [--markdown-linebreak-ext=md]
19+
- repo: https://github.com/python/black
20+
rev: 20.8b1
21+
hooks:
22+
- id: black

0 commit comments

Comments
 (0)