forked from luizribeiro/mariner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
49 lines (49 loc) · 1.21 KB
/
.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
repos:
- repo: local
hooks:
- id: flake8
name: flake8
entry: poetry run flake8
language: python
pass_filenames: false
- id: black
name: black
entry: poetry run black --check .
language: python
pass_filenames: false
- id: pyre
name: pyre
entry: poetry run pyre
language: python
pass_filenames: false
- id: tests
name: tests
entry: poetry run green
language: python
pass_filenames: false
- id: eslint
name: eslint
entry: yarn --cwd frontend/ lint
language: node
pass_filenames: false
- id: prettier
name: prettier
entry: yarn --cwd frontend/ run prettier --check src
language: node
pass_filenames: false
- id: tsc
name: tsc
entry: yarn --cwd frontend/ run tsc
language: node
pass_filenames: false
- id: webpack
name: webpack
entry: yarn --cwd frontend/ build
language: node
pass_filenames: false
- id: jest
name: jest
entry: yarn --cwd frontend/ test
language: node
pass_filenames: false