Skip to content

Commit b39acfa

Browse files
committed
🐛 refactor Make file. resolves #149
1 parent 6c15211 commit b39acfa

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

templates/Makefile.jj2

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ lint:
1313
bash lint.sh
1414

1515
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
16+
bash format.sh
1917

2018
git-diff-check:
2119
git diff --exit-code

templates/format.sh.jj2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
isort -y $(find {{name | replace('-', '_')}} -name "*.py"|xargs echo) $(find tests -name "*.py"|xargs echo)
2+
black -l 79 {{name | replace('-', '_')}}
3+
black -l 79 tests

0 commit comments

Comments
 (0)