Fix vfc-gvnfm-vnfmgr pep8 E203 issue 11/14811/1
authorying.yunlong <ying.yunlong@zte.com.cn>
Sat, 23 Sep 2017 05:58:25 +0000 (13:58 +0800)
committerying.yunlong <ying.yunlong@zte.com.cn>
Sat, 23 Sep 2017 05:58:25 +0000 (13:58 +0800)
Change-Id: I827ea28bb892b6c503e4062a5f7e557969a71441
Issue-ID: VFC-443
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
mgr/mgr/pub/utils/enumutil.py
mgr/mgr/pub/utils/values.py
mgr/mgr/vnfreg/tests.py
mgr/tox.ini

index 9656f7d..48e4ffe 100644 (file)
@@ -12,5 +12,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+
 def enum(**enums):
     return type('Enum', (), enums)
index 4262e1d..4de2bd4 100644 (file)
@@ -12,6 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+
 def ignore_case_get(args, key, def_val=""):
     if not key:
         return def_val
@@ -22,6 +23,7 @@ def ignore_case_get(args, key, def_val=""):
             return args[old_key]
     return def_val
 
+
 def set_opt_val(param, key, val):
     if val or val is False:
         param[key] = val
index c831489..b3ffccc 100644 (file)
@@ -21,6 +21,7 @@ from rest_framework import status
 from mgr.pub.database.models import VnfRegModel
 from mgr.pub.utils import restcall
 
+
 class VnfRegTest(unittest.TestCase):
     def setUp(self):
         self.client = Client()
index 1911362..ef3b10c 100644 (file)
@@ -6,7 +6,7 @@ skipsdist = true
 downloadcache = ~/cache/pip
 
 [flake8]
-ignore =  E501,E302,W293,E128,W291
+ignore =  E501,W293,E128,W291
 
 [testenv]
 deps = -r{toxinidir}/requirements.txt