summaryrefslogtreecommitdiffstats
path: root/tox.ini
AgeCommit message (Collapse)AuthorFilesLines
2019-10-11Update all redirected links in Dovetail docsxudan1-1/+4
The pod ld-build2 only has python 3.6 installed, so change the tox env to be 3.6 Other pods has python 3.5 to verify pep8, py35 ... Change-Id: I0289d7ce96ffa49dd08ce4b855fe071a5e608cbf Signed-off-by: xudan <xudan16@huawei.com>
2019-09-16Move the proj to python3Panagiotis Karalis1-4/+4
The aim of this patch is to upgrade python version of this project from python2 to python3. Signed-off-by: Panagiotis Karalis <panos.pkaralis@gmail.com> Change-Id: I3d3ef01176fda1b23a0542a24625be2f3368c40e
2019-05-09Add Licensexudan1-0/+9
Many files in Dovetail repo are lacking of License after LF scanning. Add all of them except the following files: 1. docker/Dockerfile.aarch64.patch 2. 0001-Allow-additional-properties-in-API-responses.patch 3. docs/images/dovetail_offline_mode.xcf 4. docs/images/dovetail_onfline_mode.xcf 5. all png files 6. all empty files Change-Id: If1a0b7c2d35d6682c87c4eb9106e1998dc4ca3bc Signed-off-by: xudan <xudan16@huawei.com>
2019-02-22Require 100% CoverageStamatis Katsaounis1-0/+1
This patch applies strict requirement for full coverage of python code as an acceptance criterion. Change-Id: Ib6dad44eb4e270efba912ce482676c360da15d84 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-11-14Improve tox testingStamatis Katsaounis1-7/+14
This patch removes unused test requirements. In addition, it runs coverage together with unit tests by py.test. In addition, it adds sone docs links which were missing. Finally, it adds coverage reports to .gitignore file. Change-Id: I68e65781b17929c60fbb3f4c318b1366c35d185f Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-10-31CI verify jobs failed due to the update of toxxudan1-1/+1
The LF pod used to run the CI verify jobs have updated the version of tox. So the CI verify jobs failed. See https://build.opnfv.org/ci/view/dovetail/job/dovetail-merge-master/476/console Fix the python format errors Ignore error 'W503 line break before binary operator'. Change-Id: Ic2df070447bbea39c877ce7a394d733a95064bb1 Signed-off-by: xudan <xudan16@huawei.com>
2018-09-17Adapting local docs build and remove build warningsGeorg Kunz1-5/+11
The OPNFV docs project will remove its submodules and enable local docs builds. This patch prepares the Dovetail repo according to the official transition guide: https://docs.opnfv.org/en/latest/how-to-use-docs/local-build-transition.html This patch also applies syntactical changes which eliminate the sphinx doc build warnings. Change-Id: Ief8fd2d1c3e39b232d214a9ab392879ee4a492c8 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-05-07Adding a tox environment for locally building docsGeorg Kunz1-0/+12
Run tox -edocs to locally build the Dovetail docs. This is quite useful because the default OPNFV docs preview build toolchain is broken for Dovetail. Change-Id: I0a55a701b96437a20aa09edc47bc3e49e32c0b87 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2017-10-25Ignore Tox Error E722xudan1-1/+1
1. After updating tox from 2.5 to 2.9, pep8 failed. 2. https://build.opnfv.org/ci/job/dovetail-verify-master/1018/console 3. The Error is 'E722 do not use bare except'. 4. It needs to change all 'except:' into 'except Exception:'. 5. This won't affect Dovetail, so just ignore this Error. 6. Dovetail next release will consider to fix this error. JIRA: DOVETAIL-537 Change-Id: Ic3c7be4667685fc94025a47c3b17d07a087565da Signed-off-by: xudan <xudan16@huawei.com>
2017-09-28add api&web services for cvpgrakiss1-1/+1
JIRA: DOVETAIL-512 add api&web services for cvp Change-Id: I9ef9525e980fe61dc3108035ef9a3ff8783b2697 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-04-21fix tox errorMatthewLi1-2/+2
see logs https://build.opnfv.org/ci/job/dovetail-verify-master/560/console Change-Id: Ifa66087c4c8fcbaae809aae380587a4f03eded6c Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-12-21dovetail tool: flake8 support in toxMatthewLi1-2/+2
JIRA: DOVETAIL-168 Change-Id: I1659e906c8ec810b6e21cc13da4e54a06d5ab80b Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-12-21dovetail tool: fully tox supportedMatthewLi1-1/+6
JIRA: DOVETAIL-165 1, fully tox supported 2, previous easy setup abandoned 3, CI verify job changed accordingly 4, unittest bug fix this should merge after https://gerrit.opnfv.org/gerrit/#/c/26297/ results see https://etherpad.opnfv.org/p/dovetail_report Change-Id: I52ce3999fcde7e817854e4a39f4111eef081bc78 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-12-13[WIP] Migrate to tox based environmentLeif Madsen1-0/+26
Migrate the custom setup.py to a more formal setup environment using tox, in the same way that OpenStack configures their projects. Adds metadata to tox.ini from the setup.py file, and breaks out the dependencies from setup.py into requirements.txt and test-requirements.txt. Executes flake8 testing for pep8 coverage. Defaults to using Python 2 for the environment. Change-Id: Ieaea7d9f3dc227febd8fb1dc9142d478ba197a92 Signed-off-by: Leif Madsen <lmadsen@redhat.com> Signed-off-by: zshi <zshi@redhat.com>