Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Lint with flake8

Peter van der Doesafb2c3186e62
diff --git a/gulpfile.js b/gulpfile.js
index c6f9484f3..e1b6eafdf 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -19,7 +19,7 @@ gulp.task('lint-js', function () {
.pipe(eslint.failAfterError());
});
-gulp.task('lint-python', function () {
+gulp.task('lint-flake8', function () {
return gulp.src(['**/*py',
'!**/extras/**',
'!**/build/**',
@@ -33,7 +33,7 @@ gulp.task('lint-python', function () {
.pipe(flake8.failOnError());
});
-gulp.task('lint', ['lint-js']);
+gulp.task('lint', ['lint-js', 'lint-flake8']);
// gulp.task('lint', ['lint-js', 'lint-python']);
gulp.task('default', ['lint'], function () {