fcd0790c03
Instead of using string manipulation and hardcoded path separators, use the os.path.join method for better consistency. Add some initial pytest unit tests. Tests include one to verify the generator can create a fluxcd application. Apply flake8 corrections to entire codebase. Apply pylint corrections to entire codebase. Diabled bandit. Update tox.ini file and test-requirements.txt Make updates to .zuul.yaml to enable coverage tests with helm. Coverage check will fail if coverage falls below 55% for now. Zuul is using the same version of helm as is current in STX; v3.12.2. TODO - Make sure flake8, pylint, etc.. are good. Test Plan: PASS - Verify the generator can still build an example fluxcd app TODO - Verify the generator can still buld an example armada app Story: 2010937 Task: 48918 Task: 48917 Change-Id: I18a52cd98b730cc96b2b51cd4c1ab16785ad9857 Signed-off-by: Reed, Joshua <Joshua.Reed@windriver.com>
9 lines
184 B
Plaintext
9 lines
184 B
Plaintext
hacking>=1.1.0,<=2.0.0 # Apache-2.0
|
|
bashate >= 0.2
|
|
PyYAML >= 3.1.0
|
|
shellcheck-py;python_version>="3.0" # MIT
|
|
yamllint<1.26.1;python_version>="3.0" # GPLv2
|
|
pylint
|
|
bandit
|
|
pytest
|
|
coverage |