Skip to content

Commit 50e8c37

Browse files
committed
Update default branch to main, update pre-commit hooks
1 parent b36bf53 commit 50e8c37

File tree

1 file changed

+24
-23
lines changed

1 file changed

+24
-23
lines changed

.pre-commit-config.yaml

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
repos:
2-
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v3.2.0
4-
hooks:
5-
- id: check-added-large-files
6-
args: [--maxkb=100]
7-
- id: check-ast
8-
- id: check-byte-order-marker
9-
- id: check-case-conflict
10-
- id: check-docstring-first
11-
- id: check-merge-conflict
12-
- id: mixed-line-ending
13-
- id: no-commit-to-branch
14-
- id: trailing-whitespace
15-
args: [--markdown-linebreak-ext=md]
16-
- repo: https://github.com/ambv/black
17-
rev: 20.8b1
18-
hooks:
19-
- id: black
20-
- repo: https://github.com/asottile/blacken-docs
21-
rev: v1.8.0
22-
hooks:
23-
- id: blacken-docs
24-
additional_dependencies: [black==20.8b1]
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v3.4.0
4+
hooks:
5+
- id: check-added-large-files
6+
args: [--maxkb=100]
7+
- id: check-ast
8+
- id: check-byte-order-marker
9+
- id: check-case-conflict
10+
- id: check-docstring-first
11+
- id: check-merge-conflict
12+
- id: mixed-line-ending
13+
- id: no-commit-to-branch
14+
args: [--branch, main]
15+
- id: trailing-whitespace
16+
args: [--markdown-linebreak-ext=md]
17+
- repo: https://github.com/ambv/black
18+
rev: 20.8b1
19+
hooks:
20+
- id: black
21+
- repo: https://github.com/asottile/blacken-docs
22+
rev: v1.9.2
23+
hooks:
24+
- id: blacken-docs
25+
additional_dependencies: [black==20.8b1]

0 commit comments

Comments
 (0)