nfv/nova-api-proxy
Leonardo Fagundes Luz Serrano 08b048b04f Zuul/Tox: Replace openstack-tox-linters job
The openstack-tox-linters job uses the openstack constraints file by
default. This sometimes causes dependency conflicts with StarlingX
requirements. Furthermore, starlingx has it's own constraints file
which must be observed.

- Created a custom job to run 'linters' tox env,
  replacing openstack-tox-linters
- Replaced parent jobs from openstack ones to the generic 'tox',
  adjusting parameters
- Removed references to constraints files,
  as those are already defined in their respective tox.ini files.
- Removed upper bound on test requirements
  and fixed the errors that were reported by the updated tests:
  - E721 do not compare types, for instance checks use `isinstance()`
  - E275 missing whitespace after keyword

Test Plan:
pass - Run Tox tests locally
pass - Zuul passes
pass - All Zuul logs show the correct constraints file in
       'Run Tox without tests'

Story: 2011326
Task: 51848

Change-Id: Ia45ae6aecba388502e28887d7329b0e33eb6d884
Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>
2025-03-24 22:43:32 +00:00
..
2018-05-31 07:36:51 -07:00