mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #10702 from mvdbeek/flake8_ignorelist
Rename flake8 ignorelist
This commit is contained in:
+1
-1
@@ -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/
|
||||
|
||||
@@ -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/
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user