travis: temporarily remove bitcoin_functional tests from Python linter

This commit is contained in:
Andrew Poelstra 2020-12-04 18:14:22 +00:00
parent 848c597959
commit f1642283f5
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@
export LC_ALL=C
EXIT_CODE=0
OUTPUT=$(git grep -E '^\s*def [a-zA-Z0-9_]+\(.*=\s*(\[|\{)' -- "*.py")
OUTPUT=$(git grep -E '^\s*def [a-zA-Z0-9_]+\(.*=\s*(\[|\{)' -- "*.py" ':!*/bitcoin_functional/*')
if [[ ${OUTPUT} != "" ]]; then
echo "A mutable list or dict seems to be used as default parameter value:"
echo

View file

@ -94,7 +94,7 @@ EXIT_CODE=0
if ! PYTHONWARNINGS="ignore" flake8 --ignore=B,C,E,F,I,N,W --select=$(IFS=","; echo "${enabled[*]}") $(
if [[ $# == 0 ]]; then
git ls-files "*.py"
git ls-files "*.py" ':!*/bitcoin_functional/*'
else
echo "$@"
fi