Skip to content

Commit 248e797

Browse files
authored
precommit (#397)
1 parent 6cd0312 commit 248e797

File tree

1 file changed

+8
-26
lines changed

1 file changed

+8
-26
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,6 @@ repos:
77
language: system
88
types: [python]
99
require_serial: true
10-
- id: check-added-large-files
11-
name: Check for added large files
12-
entry: check-added-large-files
13-
args: ["--maxkb=1000"]
14-
language: system
15-
- id: check-toml
16-
name: Check Toml
17-
entry: check-toml
18-
language: system
19-
types: [toml]
20-
- id: check-yaml
21-
name: Check Yaml
22-
entry: check-yaml
23-
language: system
24-
types: [yaml]
25-
- id: end-of-file-fixer
26-
name: Fix End of Files
27-
entry: end-of-file-fixer
28-
language: system
29-
types: [text]
30-
stages: [commit, push, manual]
3110
- id: flake8
3211
name: flake8
3312
entry: flake8
@@ -40,12 +19,15 @@ repos:
4019
language: system
4120
types: [python]
4221
args: [--application-directories=src]
22+
23+
- repo: https://github.com/pre-commit/pre-commit-hooks
24+
rev: v4.1.0
25+
hooks:
4326
- id: trailing-whitespace
44-
name: Trim Trailing Whitespace
45-
entry: trailing-whitespace-fixer
46-
language: system
47-
types: [text]
48-
stages: [commit, push, manual]
27+
- id: end-of-file-fixer
28+
- id: check-toml
29+
- id: check-added-large-files
30+
- id: check-yaml
4931
- repo: https://github.com/prettier/pre-commit
5032
rev: v2.1.2
5133
hooks:

0 commit comments

Comments
 (0)