From b17b87018bf77a584ccd2384130086ed3743898a Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sat, 27 May 2023 12:47:50 +0300 Subject: [PATCH] lint fix --- linters/tox.ini | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/linters/tox.ini b/linters/tox.ini index 0bf316c24..8abf8fb76 100644 --- a/linters/tox.ini +++ b/linters/tox.ini @@ -3,11 +3,11 @@ envlist = cppcheck, flake8, pylint, mypy, vulture, htmlhint skipsdist = true [testenv] -basepython = python3.10 +basepython = python3.11 changedir = /src [testenv:cppcheck] -whitelist_externals = cppcheck +allowlist_externals = cppcheck commands = cppcheck \ -j4 \ --force \ @@ -23,30 +23,30 @@ commands = cppcheck \ src python/*.? janus/*.? [testenv:flake8] -whitelist_externals = bash +allowlist_externals = bash commands = bash -c 'flake8 --config=linters/flake8.ini tools/*.py' python/*.py deps = flake8==5.0.4 flake8-quotes [testenv:pylint] -whitelist_externals = bash +allowlist_externals = bash commands = bash -c 'pylint --rcfile=linters/pylint.ini --output-format=colorized --reports=no tools/*.py python/*.py' deps = pylint [testenv:mypy] -whitelist_externals = bash +allowlist_externals = bash commands = bash -c 'mypy --config-file=linters/mypy.ini tools/*.py python/*.py' deps = mypy [testenv:vulture] -whitelist_externals = bash +allowlist_externals = bash commands = bash -c 'vulture tools/*.py python/*.py' deps = vulture [testenv:htmlhint] -whitelist_externals = htmlhint +allowlist_externals = htmlhint commands = htmlhint src/ustreamer/http/data/*.html