The Jenkins job no longer supports Python3.8.
Flake8 was also using an old version that doesn't work on Python3.11+.
TEST PLAN:
* Run tox
Issue-ID: INF-440
Signed-off-by: jkraitbewr <joshua.kraitberg@windriver.com>
Change-Id: I419608082b21e06bb3840e6265ab4757fba33299
-flake8==5.0.4
+flake8
pylint
mypy
requests
pyOpenSSL
# -e git+https://opendev.org/starlingx/distcloud-client.git@master#egg=distributedcloud-client&subdirectory=distributedcloud-client
-# -e git+https://opendev.org/starlingx/config.git@master#egg=cgtsclient&subdirectory=sysinv/cgts-client/cgts-client
\ No newline at end of file
+# -e git+https://opendev.org/starlingx/config.git@master#egg=cgtsclient&subdirectory=sysinv/cgts-client/cgts-client
[testenv]
basepython =
- code: python3.8
- flake8: python3.8
+ code: python3
+ flake8: python3
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/docs/requirements-docs.txt
commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
+
+[flake8]
+extend-ignore = E231,F401