Skip to content

Commit 137d074

Browse files
committed
Ignore migrations for code-quality tools
1 parent 78d0407 commit 137d074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"watch": "npm i && bower install && gulp watch",
77
"build": "npm i && bower install && gulp",
88
"build_noninteractive": "npm i && bower --config.interactive=false install && gulp",
9-
"fix": "PREFIX=\"# -*- coding: utf-8 -*-\"; find . -name '._*' | xargs rm ; for f in $(find . -name '*.py' -and -not -path '*/venv/*'); do echo \"=================\" ; echo $f; autopep8 -ri --max-line-length=10000 $f; flake8 $f; isort -rc $f; grep -qFe \"$PREFIX\" $f || echo \"$PREFIX\n$(cat $f)\" > $f ; done "
9+
"fix": "PREFIX=\"# -*- coding: utf-8 -*-\"; find . -name '._*' | xargs rm ; for f in $(find . -name '*.py' -and -not -path '*/migrations/*' -and -not -path '*/venv/*'); do echo \"=================\" ; echo $f; autopep8 -ri --max-line-length=10000 $f; flake8 $f; isort -rc $f; grep -qFe \"$PREFIX\" $f || echo \"$PREFIX\n$(cat $f)\" > $f ; done "
1010
},
1111
"repository": {
1212
"type": "git",

0 commit comments

Comments
 (0)