-
Notifications
You must be signed in to change notification settings - Fork 31
/
.pre-commit-config.yaml
32 lines (32 loc) · 1.12 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
- repo: local
hooks:
- id: isort
name: isort
pass_filenames: false
entry: docker compose -f envs/dev/docker-compose.yml run --rm backend bash -c "/code/scripts/isort.sh --format"
language: system
types: [python]
- id: docformatter
name: docformatter
pass_filenames: false
entry: docker compose -f envs/dev/docker-compose.yml run --rm backend bash -c "/code/scripts/docformatter.sh --format"
language: system
types: [python]
- id: black
name: black
pass_filenames: false
entry: docker compose -f envs/dev/docker-compose.yml run --rm backend bash -c "/code/scripts/black.sh --format"
language: system
types: [python]
- id: flake8
name: flake8
pass_filenames: false
entry: docker compose -f envs/dev/docker-compose.yml run --rm backend bash -c "/code/scripts/flake8.sh"
language: system
types: [python]
- id: eslint-js
name: eslint-js
pass_filenames: false
entry: docker compose -f envs/dev/docker-compose.yml run --rm smart_frontend yarn lint
language: system
types: [javascript]