]> arthur.barton.de Git - bup.git/blobdiff - GNUmakefile
test: add pylint and test imports
[bup.git] / GNUmakefile
index 228b979467c6bfbf5ff51b4fb046c08de566092e..f648dfb65fd7f997d561027f61d7fdeb167528c0 100644 (file)
@@ -206,7 +206,10 @@ get_parallel_n = $(patsubst -j%,%,$(parallel_opt))
 maybe_specific_n = $(if $(filter -j%,$(parallel_opt)),-n$(get_parallel_n))
 xdist_opt = $(if $(filter -j,$(parallel_opt)),-nauto,$(maybe_specific_n))
 
-test: all test/tmp dev/python
+lint: dev/bup-python
+       ./pylint
+
+test: all test/tmp dev/python lint
         if test yes = "$$(dev/python -c 'import xdist; print("yes")' 2>/dev/null)"; then \
           (set -x; ./pytest $(xdist_opt);) \
         else \