Skip to content

Commit ee19b00

Browse files
committed
fix: pre commit config
1 parent 56be76d commit ee19b00

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,3 +245,4 @@ playwright/.cache/
245245
playwright/.auth/
246246

247247
out/
248+
lib/bashunit

.pre-commit-config.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exclude: |
44
docs
55
)$
66
repos:
7-
- repo: api
7+
- repo: local
88
hooks:
99
- id: black
1010
name: black
@@ -27,8 +27,10 @@ repos:
2727
entry: cd api/ && ./run-tests.sh
2828
language: system
2929
types: [bash]
30-
- repo: frontend
30+
- repo: local
3131
hooks:
3232
- id: lint
33+
language: system
34+
types: [bash]
3335
name: lint
3436
entry: cd webapp/ && npm run lint

api/run-cli.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
export PYTHONPATH="$(pwd):$PYTHONPATH"
4+
poetry run smm "$@"

0 commit comments

Comments
 (0)