Merge pull request #10702 from mvdbeek/flake8_ignorelist

Rename flake8 ignorelist
This commit is contained in:
Nicola Soranzo
2020-11-12 10:41:53 +00:00
committed by GitHub
4 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
exclude=$(sed -e 's|^|./|' -e 's|/$||' .ci/flake8_blacklist.txt | paste -s -d ',' - )
exclude=$(sed -e 's|^|./|' -e 's|/$||' .ci/flake8_ignorelist.txt | paste -s -d ',' - )
autopep8 -i -r --exclude $exclude --select E11,E101,E127,E201,E202,E22,E301,E302,E303,E304,E306,E711,W291,W292,W293,W391 ./lib/ ./test/
+1 -1
View File
@@ -2,7 +2,7 @@
set -e
flake8 --exclude $(paste -sd, .ci/flake8_blacklist.txt) .
flake8 --exclude $(paste -sd, .ci/flake8_ignorelist.txt) .
# Apply stricter rules for the directories shared with Pulsar
flake8 --ignore=D --max-line-length=150 lib/galaxy/jobs/runners/util/
+1 -1
View File
@@ -17,5 +17,5 @@ if [ "$1" = "--include" ];
then
flake8 $args $(paste -sd' ' .ci/flake8_docstrings_include_list.txt)
else
flake8 $args --exclude $(paste -sd, .ci/flake8_blacklist.txt) .
flake8 $args --exclude $(paste -sd, .ci/flake8_ignorelist.txt) .
fi