nfv/nfv/nfv-vim/nfv_vim
albailey eafee58e62 Not require recreate of tox env when running tox
The upgrade test was written to copy a file required for
the test, but did not handle the file already being processed.
This fix adjusts the setup for the unit test to handle this
and allows the recreate to be removed, thus reducing designer
tox testing time (40 seconds down to 4 when re-running a single test)

This also aligns the version of hacking and pylint as the same as
other starlingx repos. A new pylint was released which was
breaking tox.

The code changes are to fix whitespace (rather than suppressing):
 E305 expected 2 blank lines after class or function definition
 E117 over-indented

Three new hacking warnings are being suppressed:
  W503 line break before binary operator
  W504  line break after binary operator
  W605 invalid escape sequence

Un-suppress these codes which are not broken in the code:
 E123 closing bracket does not match indentation of opening bracket
 E501 line too long (tox sets max length instead to a large val)
 F823 local variable referenced before assignment

yamllint 1.26.1 does not work with py2 or py3 in our env, so clamp it.

Story: 2008137
Task: 42200
Signed-off-by: albailey <Al.Bailey@windriver.com>
Change-Id: Ia623315c5f1a690d20f597242b7722601776f26d
2021-04-06 09:48:36 -05:00
..
alarm Kubernetes Upgrade Orchestration 2021-03-02 07:45:20 -06:00
api Not require recreate of tox env when running tox 2021-04-06 09:48:36 -05:00
audits Ignore host audits with potentially outdated info 2019-03-19 14:31:04 -05:00
database Kubernetes Upgrade Orchestration 2021-03-02 07:45:20 -06:00
directors Kubernetes Upgrade Orchestration 2021-03-02 07:45:20 -06:00
dor Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
event_log Kubernetes Upgrade Orchestration 2021-03-02 07:45:20 -06:00
events Kubernetes Upgrade Orchestration 2021-03-02 07:45:20 -06:00
host_fsm Add host stabilization wait for post-live-migration cleanup 2020-08-26 15:09:00 -04:00
instance_fsm Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
network_rebalance Not require recreate of tox env when running tox 2021-04-06 09:48:36 -05:00
nfvi Kubernetes Upgrade Orchestration 2021-03-02 07:45:20 -06:00
objects Kubernetes Upgrade Orchestration 2021-03-02 07:45:20 -06:00
rpc Kubernetes Upgrade Orchestration 2021-03-02 07:45:20 -06:00
strategy Not require recreate of tox env when running tox 2021-04-06 09:48:36 -05:00
tables Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
webserver small cleanup required by OBS badness check - exec rights on non executable not allowed 2019-09-17 08:54:22 +02:00
__init__.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
config.ini small cleanup required by OBS badness check - exec rights on non executable not allowed 2019-09-17 08:54:22 +02:00
debug.ini Add orchestrated fw update support to vim 2020-05-14 01:03:21 +00:00
vim.py Allow VIM to shutdown when all FDs are used 2020-05-27 13:50:03 -05:00
vim_api.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
vim_manage.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
vim_webserver.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00