File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -10,25 +10,31 @@ entr_warn:
1010 @echo " ----------------------------------------------------------"
1111
1212isort :
13- isort ` ${PY_FILES} `
13+ poetry run isort ` ${PY_FILES} `
1414
1515black :
16- black ` ${PY_FILES} ` --skip-string-normalization
16+ poetry run black ` ${PY_FILES} `
1717
1818test :
19- py.test $(test )
19+ poetry run py.test $(test )
2020
2121watch_test :
2222 if command -v entr > /dev/null; then ${PY_FILES} | entr -c $( MAKE) test ; else $( MAKE) test entr_warn; fi
2323
2424build_docs :
25- cd doc && $(MAKE ) html
25+ $(MAKE ) -C docs html
2626
2727watch_docs :
28- cd doc && $(MAKE ) watch_docs
28+ if command -v entr > /dev/null; then ${DOC_FILES} | entr -c $( MAKE) build_docs; else $( MAKE) build_docs entr_warn; fi
29+
30+ serve_docs :
31+ $(MAKE ) -C docs serve
32+
33+ dev_docs :
34+ $(MAKE ) -j watch_docs serve_docs
2935
3036flake8 :
31- flake8 libtmux tests
37+ poetry run flake8
3238
3339watch_flake8 :
3440 if command -v entr > /dev/null; then ${PY_FILES} | entr -c $( MAKE) flake8; else $( MAKE) flake8 entr_warn; fi
You can’t perform that action at this time.
0 commit comments