diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-07-25 18:15:41 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-08-15 08:05:14 -0400 |
commit | fa3c6575cac5e3841797980fe60b8368ae579dba (patch) | |
tree | fe58ce2671756a98918e237fcde8dd3fe7c74b98 /test/lint/lint-python-dead-code.sh | |
parent | fa25668e1c8982548f1c6f94780709c625811469 (diff) | |
download | bitcoin-fa3c6575cac5e3841797980fe60b8368ae579dba.tar.xz |
lint: Add false positive to python dead code linter
Diffstat (limited to 'test/lint/lint-python-dead-code.sh')
-rwxr-xr-x | test/lint/lint-python-dead-code.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lint/lint-python-dead-code.sh b/test/lint/lint-python-dead-code.sh index 588ba428d7..77bf5990a7 100755 --- a/test/lint/lint-python-dead-code.sh +++ b/test/lint/lint-python-dead-code.sh @@ -15,5 +15,5 @@ fi vulture \ --min-confidence 60 \ - --ignore-names "argtypes,connection_lost,connection_made,converter,data_received,daemon,errcheck,is_compressed,is_valid,verify_ecdsa,msg_generic,on_*,optionxform,restype,profile_with_perf" \ - $(git ls-files -- "*.py" ":(exclude)contrib/" ":(exclude)test/functional/data/invalid_txs.py") + $(git rev-parse --show-toplevel) \ + $(dirname "${BASH_SOURCE[0]}")/lint-python-dead-code-whitelist |