Skip to content

Commit 7dfdcb7

Browse files
committed
📚 Makefile should be copied from Yehua to this repo. resolves #147
1 parent d55d840 commit 7dfdcb7

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

templates/Makefile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
all: test
2+
3+
test: lint
4+
bash test.sh
5+
6+
install_test:
7+
pip install -r tests/requirements.txt
8+
9+
git-diff-check:
10+
git diff --exit-code
11+
12+
lint:
13+
bash lint.sh
14+
15+
format:
16+
isort -y $(find {{name | replace('-', '_')}} -name "*.py"|xargs echo) $(find tests -name "*.py"|xargs echo)
17+
black -l 79 {{name | replace('-', '_')}}
18+
black -l 79 tests
19+
20+
git-diff-check:
21+
git diff --exit-code

0 commit comments

Comments
 (0)