Exclude `.venv` when linting

This commit is contained in:
Christopher C. Wells 2021-11-07 13:01:57 -08:00
parent 9c1ba21628
commit d35e20570d
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ function extras(cb) {
* @param cb
*/
function lint(cb) {
var command = ['run', 'flake8', '--exclude=etc,migrations,manage.py,node_modules,settings'];
var command = ['run', 'flake8', '--exclude=.venv,etc,migrations,manage.py,node_modules,settings'];
command = command.concat(process.argv.splice(3));
spawn('pipenv', command, { stdio: 'inherit' }).on('exit', function (code) {
if (code) process.exit(code);