Cleanup Quick Booking Page
[pharos-tools.git] / dashboard / test.sh
index 68fe903..0fbfd0e 100755 (executable)
@@ -8,5 +8,9 @@
 # http://www.apache.org/licenses/LICENSE-2.0
 ##############################################################################
 
+# first, basic lint with flake8
+find . -type f -name "*.py" -not -name "manage.py" | xargs flake8 --count --ignore E501
+
+
 # this file should be executed from the dir it is in
-docker exec -it dg01 python manage.py test -t ../src/
+docker exec -it dg01 python manage.py test