aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-09-18 12:26:59 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-09-18 12:27:02 -0400
commitcfcaa9759e23d10a766d50558d369ad4110129f8 (patch)
tree0c99ab2ef384e9365dbef38ffd1cd21370ba225e
parent0ee0474234654d1587afd5816ca6794620a11f16 (diff)
parentfac35b21e2c2d798face7e289dcff4c1cce0e1a6 (diff)
downloadbitcoin-cfcaa9759e23d10a766d50558d369ad4110129f8.tar.xz
Merge #16907: test: lint: Add DisabledOpcodeTemplates to whitelist
fac35b21e2c2d798face7e289dcff4c1cce0e1a6 test: lint: Add DisabledOpcodeTemplates to whitelist (MarcoFalke) Pull request description: Fixes #16906 Top commit has no ACKs. Tree-SHA512: 98b175bb062425fd3a8bd0d0258f4c0e0d5106980f1e037df7c2b2b2e5aa6031b11b582c026265d7b2de56049ccbadb0b7add9130d323f15886f681c6268ba0a
-rwxr-xr-xci/lint/04_install.sh2
-rw-r--r--test/lint/lint-python-dead-code-whitelist1
2 files changed, 2 insertions, 1 deletions
diff --git a/ci/lint/04_install.sh b/ci/lint/04_install.sh
index 01322f61e6..6c3019a1aa 100755
--- a/ci/lint/04_install.sh
+++ b/ci/lint/04_install.sh
@@ -8,7 +8,7 @@ export LC_ALL=C
travis_retry pip3 install codespell==1.15.0
travis_retry pip3 install flake8==3.7.8
-travis_retry pip3 install vulture==0.29
+travis_retry pip3 install vulture==1.0
SHELLCHECK_VERSION=v0.6.0
curl -s "https://storage.googleapis.com/shellcheck/shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar.xz" | tar --xz -xf - --directory /tmp/
diff --git a/test/lint/lint-python-dead-code-whitelist b/test/lint/lint-python-dead-code-whitelist
index 2522c8fa1c..33bb7b44fa 100644
--- a/test/lint/lint-python-dead-code-whitelist
+++ b/test/lint/lint-python-dead-code-whitelist
@@ -6,6 +6,7 @@ _.converter # unused attribute (test/functional/test_framework/test_framework.p
_.daemon # unused attribute (test/functional/test_framework/socks5.py)
data_received # unused function (test/functional/test_framework/mininode.py)
DuplicateInput # unused class (test/functional/data/invalid_txs.py)
+DisabledOpcodeTemplates # unused class (test/functional/data/invalid_txs.py)
_.filename # unused attribute (contrib/macdeploy/custom_dsstore.py)
InvalidOPIFConstruction # unused class (test/functional/data/invalid_txs.py)
_.is_compressed # unused property (test/functional/test_framework/key.py)