test: lint: Add DisabledOpcodeTemplates to whitelist

Also, bump vulture version to include the whitelist for threading module
This commit is contained in:
MarcoFalke 2019-09-18 11:34:08 -04:00
parent 99beda47f5
commit fac35b21e2
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
2 changed files with 2 additions and 1 deletions

View file

@ -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/

View file

@ -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)