Selaa lähdekoodia

[enh] pep8 check added to tests

Adam Tauber 10 vuotta sitten
vanhempi
commit
0d36dcbf4c
1 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. 4
    4
      Makefile

+ 4
- 4
Makefile Näytä tiedosto

18
 	virtualenv -p python$(version) --no-site-packages .
18
 	virtualenv -p python$(version) --no-site-packages .
19
 	@touch $@
19
 	@touch $@
20
 
20
 
21
-tests: .installed.cfg
22
-	@bin/test
23
-	@grunt test --gruntfile searx/static/themes/oscar/gruntfile.js
24
-
25
 robot: .installed.cfg
21
 robot: .installed.cfg
26
 	@bin/robot
22
 	@bin/robot
27
 
23
 
29
 	@bin/flake8 setup.py
25
 	@bin/flake8 setup.py
30
 	@bin/flake8 ./searx/
26
 	@bin/flake8 ./searx/
31
 
27
 
28
+tests: .installed.cfg flake8
29
+	@bin/test
30
+	@grunt test --gruntfile searx/static/themes/oscar/gruntfile.js
31
+
32
 coverage: .installed.cfg
32
 coverage: .installed.cfg
33
 	@bin/coverage run bin/test
33
 	@bin/coverage run bin/test
34
 	@bin/coverage report
34
 	@bin/coverage report