From 06e7520065ff03a148831ad683f17da45dd34b4a Mon Sep 17 00:00:00 2001 From: "zhu.rong" Date: Thu, 20 Aug 2015 22:05:39 +0800 Subject: [PATCH] Update the gitingore file and tox.ini 1.update the gitingore file for .swp. 2.delete the no need line before build the docs in tox.ini. Change-Id: I64b9da411a902a9cedf90d69f59e3d32cc1913e1 --- .gitignore | 3 +++ tox.ini | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index a6e731ba9..150a71e5b 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,6 @@ ChangeLog etc/*.conf tools/lintstack.head.py tools/pylint_exceptions + +#Linux swap file +*.swp diff --git a/tox.ini b/tox.ini index b68e9b1d4..bc258713f 100644 --- a/tox.ini +++ b/tox.ini @@ -39,10 +39,7 @@ commands = commands = {posargs} [testenv:docs] -commands = - rm -rf doc/html doc/build - rm -rf doc/source/apidoc doc/source/api - python setup.py build_sphinx +commands = python setup.py build_sphinx [testenv:pylint] setenv = VIRTUAL_ENV={envdir}