Ignore `etc` folder when linting Python.

This commit is contained in:
Christopher Charbonneau Wells 2017-11-15 13:12:04 -05:00
parent d877d36646
commit 2221382b4b
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ var watchConfig = require('../config.js').watchConfig;
gulp.task('lint', ['lint:styles', 'lint:python']);
gulp.task('lint:python', function(cb) {
var command = ['run', 'flake8', '--exclude=migrations,manage.py,node_modules,settings'];
var command = ['run', 'flake8', '--exclude=etc,migrations,manage.py,node_modules,settings'];
command = command.concat(process.argv.splice(3));
spawn('pipenv', command, { stdio: 'inherit' }).on('exit', cb);
});