aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/pyarmnn/examples/speech_recognition/tests/test_decoder.py2
-rw-r--r--python/pyarmnn/pylintconfig9
-rw-r--r--python/pyarmnn/tox.ini2
3 files changed, 4 insertions, 9 deletions
diff --git a/python/pyarmnn/examples/speech_recognition/tests/test_decoder.py b/python/pyarmnn/examples/speech_recognition/tests/test_decoder.py
index 3b99e6504a..1db71a47b8 100644
--- a/python/pyarmnn/examples/speech_recognition/tests/test_decoder.py
+++ b/python/pyarmnn/examples/speech_recognition/tests/test_decoder.py
@@ -25,4 +25,4 @@ def test_decoder(test_data_folder):
output_tensor = os.path.join(test_data_folder, "inf_out.npy")
encoded = np.load(output_tensor)
decoded_text = audio_utils.decode(encoded, labels)
- assert decoded_text == "and he walkd immediately out of the apartiment by anothe"
+ assert decoded_text == "and they walkd immediately out of the apartiment by anothe"
diff --git a/python/pyarmnn/pylintconfig b/python/pyarmnn/pylintconfig
index 1f8811a4ce..f3b28d4708 100644
--- a/python/pyarmnn/pylintconfig
+++ b/python/pyarmnn/pylintconfig
@@ -1,15 +1,10 @@
[MASTER]
-# A comma-separated list of package or module names from where C extensions may
-# be loaded. Extensions are loading into the active Python interpreter and may
-# run arbitrary code
-extension-pkg-whitelist=
-
-# Add files or directories to the blacklist. They should be base names, not
+# Add files or directories to the ignore list. They should be base names, not
# paths.
ignore=CVS,generated,_generated
-# Add files or directories matching the regex patterns to the blacklist. The
+# Add files or directories matching the regex patterns to the ignore list. The
# regex matches against base names, not paths.
ignore-patterns=_version.py
diff --git a/python/pyarmnn/tox.ini b/python/pyarmnn/tox.ini
index f791dba95c..be3118b07f 100644
--- a/python/pyarmnn/tox.ini
+++ b/python/pyarmnn/tox.ini
@@ -16,7 +16,7 @@ deps = pytest==5.2.0
more-itertools==8.10.0
recreate = True
-whitelist_externals = /bin/sh
+allowlist_externals = /bin/sh
commands =
python ./scripts/download_test_resources.py
python -m pytest test/ -v {posargs} --junit-xml=test_report_junit-{envname}.xml --cov=pyarmnn --cov-report xml:coverage-{envname}.xml