File tree 1 file changed +12
-6
lines changed
1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -10,25 +10,31 @@ entr_warn:
10
10
@echo " ----------------------------------------------------------"
11
11
12
12
isort :
13
- isort ` ${PY_FILES} `
13
+ poetry run isort ` ${PY_FILES} `
14
14
15
15
black :
16
- black ` ${PY_FILES} ` --skip-string-normalization
16
+ poetry run black ` ${PY_FILES} `
17
17
18
18
test :
19
- py.test $(test )
19
+ poetry run py.test $(test )
20
20
21
21
watch_test :
22
22
if command -v entr > /dev/null; then ${PY_FILES} | entr -c $( MAKE) test ; else $( MAKE) test entr_warn; fi
23
23
24
24
build_docs :
25
- cd doc && $(MAKE ) html
25
+ $(MAKE ) -C docs html
26
26
27
27
watch_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
29
35
30
36
flake8 :
31
- flake8 libtmux tests
37
+ poetry run flake8
32
38
33
39
watch_flake8 :
34
40
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