4 Commits

Author SHA1 Message Date
Leonardo Fagundes Luz Serrano
77c6d3109b Tox: Remove upper bound on hacking version
This change is required in order to support
testing on python 3.12

Test Plan:
pass - Run tox -eflake8 in a ubuntu:noble
       container

Change-Id: I427a7cab6c67905e0496cbbe07d4367d080dfb58
Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>
2024-11-12 18:36:32 -03:00
Michel Thebeau
7ff7e09392 libvirt: add pep8/flake8 to tox job
Using config/sysinv/sysinv/sysinv as example of setup for pep8/flake8.

Fix reported errors for config.py.

Story: 2010816
Task: 48450

Change-Id: Ia0e511fd827b5d697a6b41b7064d13ab64efb779
Signed-off-by: Michel Thebeau <Michel.Thebeau@windriver.com>
2023-07-24 17:15:45 -04:00
Lindley Werner
c93f1aa754 Adding pylint to /virtualbox/pybox
Enabling automatic pylint with tox and zull for each new patchset.

Test plan:
PASS: Run "tox -e pylint" in the terminal, this will:
  - Run pylint in all python files
  - Show the report

Story: 2005051
Task: 47900
Change-Id: I2f66a5f72e3f8746c00aae96287ad3e4edb88e28
Signed-off-by: Lindley Werner <lindley.vieira@encora.com>
2023-06-30 12:12:01 -03:00
Bruno Muniz
f73ed26012 Setup zuul and tox to virtual-deployment repository.
The tox config is ready with yamllint, bashate and pylint,
but the pylint is not enabled here, it must be enabled after
review 887207 fixing pylint errors.

Story: 2005051
Task: 48307

Change-Id: Ia11050a26c329ee3d6b536e07c8a93dfb0ab857e
Signed-off-by: Bruno Muniz <bruno.muniz@encora.com>
Signed-off-by: Lindley Werner <lindley.vieira@encora.com>
2023-06-29 09:46:59 -03:00