This website requires JavaScript.
Explore
Get Started
starlingx
/
monitoring
Code
Issues
Proposed changes
a1d13a000f
Branches
Tags
View all branches
monitoring
/
test-requirements.txt
5 lines
86 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Adding zuul jobs for new repo This job adds a single linters tox target. The linters target is an aggregation of linters for this repo including: - bashate - flake8 Other linters such as yamllint can be added to this repo by later commits. Certain flake8 codes are suppressed. They can be enabled by later commits. This commit also adds basic contributing and hacking docs. Change-Id: Ib10d84141954f1d39a258913a98d314763c74824 Story: 2006166 Task: 36544 Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2019-09-09 14:37:23 -05:00
# hacking pulls in flake8
Fix zuul errors due to changes in dependencies Pin hacking to < 4.0.1 to fix zuul gate issues. Test: Ran tox -e flake8 command to validate the flake8 job and result. Related-Bug: 1926172 Signed-off-by: Charles Short <charles.short@windriver.com> Change-Id: Ia2e746ba513c0d073b60e76b2d2afdfe8b6c9745
2021-04-26 11:13:08 -04:00
hacking < 4.0.1
Adding zuul jobs for new repo This job adds a single linters tox target. The linters target is an aggregation of linters for this repo including: - bashate - flake8 Other linters such as yamllint can be added to this repo by later commits. Certain flake8 codes are suppressed. They can be enabled by later commits. This commit also adds basic contributing and hacking docs. Change-Id: Ib10d84141954f1d39a258913a98d314763c74824 Story: 2006166 Task: 36544 Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2019-09-09 14:37:23 -05:00
bashate >= 0.2
Bandit should only be installed in py3 env Running tox for linters fails since the bandit being pulled in is python3 only. This is similar to other bugs where a new version is released which drops py2 support. In this env, we only include bandit if we are testing and running in py3. Partial-Bug: 1922590 Change-Id: I11b7d974ae3b64e7846e1420521dee0d48128fc5 Signed-off-by: albailey <Al.Bailey@windriver.com>
2021-04-07 17:52:02 -04:00
bandit;python_version>="3.5"
Copy Permalink