File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 1- WATCH_FILES = find . -type f -not -path '*/\.*' | grep -i '.*[.]py$$' 2> /dev/null
1+ PY_FILES = find . -type f -not -path '*/\.*' | grep -i '.*[.]py$$' 2> /dev/null
22
33
4- test :
5- py.test $(test )
6-
74entr_warn :
85 @echo " ----------------------------------------------------------"
96 @echo " ! File watching functionality non-operational ! "
@@ -12,9 +9,14 @@ entr_warn:
129 @echo " See http://entrproject.org/"
1310 @echo " ----------------------------------------------------------"
1411
12+ isort :
13+ isort ` ${PY_FILES} `
14+
15+ test :
16+ py.test $(test )
1517
1618watch_test :
17- if command -v entr > /dev/null; then ${WATCH_FILES } | entr -c $( MAKE) test ; else $( MAKE) test entr_warn; fi
19+ if command -v entr > /dev/null; then ${PY_FILES } | entr -c $( MAKE) test ; else $( MAKE) test entr_warn; fi
1820
1921build_docs :
2022 cd doc && $(MAKE ) html
@@ -26,4 +28,4 @@ flake8:
2628 flake8 libtmux tests
2729
2830watch_flake8 :
29- if command -v entr > /dev/null; then ${WATCH_FILES } | entr -c $( MAKE) flake8; else $( MAKE) flake8 entr_warn; fi
31+ 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