eafee58e62
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
13 lines
518 B
Plaintext
13 lines
518 B
Plaintext
# The order of packages is significant, because pip processes them in the order
|
|
# of appearance. Changing the order has an impact on the overall integration
|
|
# process, which may cause wedges in the gate later.
|
|
hacking>=1.1.0,<=2.0.0 # Apache-2.0
|
|
astroid<2.0;python_version<"3.0" # GPLv2
|
|
astroid<= 2.2.5;python_version>="3.0" # GPLv2
|
|
bandit<1.6.0;python_version>="3.0"
|
|
coverage>=3.6
|
|
fixtures>=3.0.0 # Apache-2.0/BSD
|
|
mock>=2.0.0 # BSD
|
|
pylint<2.1.0;python_version<"3.0" # GPLv2
|
|
pylint<2.4.0;python_version>="3.0" # GPLv2
|