Skip to content

Commit a747f32

Browse files
committed
add pre-commit
1 parent f5c8313 commit a747f32

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
.PHONY: install
22

3-
install: install-node install-python
3+
install: install-node install-python install-hooks
44

55
install-node:
66
npm ci
77

88
install-python:
99
poetry install
1010

11+
install-hooks: install-python
12+
poetry run pre-commit install --install-hooks --overwrite
13+
1114
deep-clean:
1215
find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +
1316

0 commit comments

Comments
 (0)