lint fixes

This commit is contained in:
Maxim Devaev
2024-05-16 00:10:53 +03:00
parent 9d5eb8bacb
commit e8a7fb32ac

View File

@@ -3,7 +3,7 @@ envlist = cppcheck, flake8, pylint, mypy, vulture, htmlhint
skipsdist = true skipsdist = true
[testenv] [testenv]
basepython = python3.11 basepython = python3.12
changedir = /src changedir = /src
[testenv:cppcheck] [testenv:cppcheck]
@@ -25,7 +25,7 @@ commands = cppcheck \
allowlist_externals = bash allowlist_externals = bash
commands = bash -c 'flake8 --config=linters/flake8.ini tools/*.py' python/*.py commands = bash -c 'flake8 --config=linters/flake8.ini tools/*.py' python/*.py
deps = deps =
flake8==5.0.4 flake8
flake8-quotes flake8-quotes
[testenv:pylint] [testenv:pylint]
@@ -33,6 +33,7 @@ allowlist_externals = bash
commands = bash -c 'pylint --rcfile=linters/pylint.ini --output-format=colorized --reports=no tools/*.py python/*.py' commands = bash -c 'pylint --rcfile=linters/pylint.ini --output-format=colorized --reports=no tools/*.py python/*.py'
deps = deps =
pylint pylint
setuptools
[testenv:mypy] [testenv:mypy]
allowlist_externals = bash allowlist_externals = bash