Skip to content
This repository was archived by the owner on Feb 13, 2021. It is now read-only.

Commit 77afeb3

Browse files
author
staticdev
committed
Improved pre-commit
1 parent 7ca48ee commit 77afeb3

1 file changed

Lines changed: 30 additions & 13 deletions

File tree

.pre-commit-config.yaml

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,31 @@
11
repos:
2-
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v2.5.0
4-
hooks:
5-
- id: check-yaml
6-
- id: end-of-file-fixer
7-
- id: trailing-whitespace
8-
- repo: local
9-
hooks:
10-
- id: black
11-
name: black
12-
entry: poetry run black
13-
language: system
14-
types: [python]
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v2.5.0
4+
hooks:
5+
- id: check-yaml
6+
- id: end-of-file-fixer
7+
- id: trailing-whitespace
8+
- id: check-added-large-files
9+
- id: check-toml
10+
- repo: https://github.com/prettier/prettier
11+
rev: 2.0.5
12+
hooks:
13+
- id: prettier
14+
- repo: local
15+
hooks:
16+
- id: black
17+
name: black
18+
entry: poetry run black
19+
language: system
20+
types: [python]
21+
- id: flake8
22+
name: flake8
23+
entry: poetry run flake8
24+
language: system
25+
types: [python]
26+
- id: mypy
27+
name: mypy
28+
entry: poetry run mypy
29+
language: system
30+
types: [python]
31+
require_serial: true

0 commit comments

Comments
 (0)