diff --git a/nfv/nfv-vim/nfv_vim/nfvi/api/v1/_nfvi_sw_mgmt_api.py b/nfv/nfv-vim/nfv_vim/nfvi/api/v1/_nfvi_sw_mgmt_api.py index 8714625a..ec412fad 100755 --- a/nfv/nfv-vim/nfv_vim/nfvi/api/v1/_nfvi_sw_mgmt_api.py +++ b/nfv/nfv-vim/nfv_vim/nfvi/api/v1/_nfvi_sw_mgmt_api.py @@ -40,28 +40,28 @@ class NFVISwMgmtAPI(object): """ pass - @abc.abstractproperty + @abc.abstractmethod def query_updates(self, future, callback): """ Query software updates using the plugin """ pass - @abc.abstractproperty + @abc.abstractmethod def query_hosts(self, future, callback): """ Query hosts using the plugin """ pass - @abc.abstractproperty + @abc.abstractmethod def update_host(self, future, host_name, callback): """ Apply a software update to a host using the plugin """ pass - @abc.abstractproperty + @abc.abstractmethod def update_hosts(self, future, host_names, callback): """ Apply a software update to a list of hosts using the plugin diff --git a/nfv/pylint.rc b/nfv/pylint.rc index 881e9ce3..c53c6897 100755 --- a/nfv/pylint.rc +++ b/nfv/pylint.rc @@ -46,7 +46,8 @@ load-plugins= # W0706: The except handler raises immediately (try-except-raise) # W1401 anomalous-backslash-in-string # W1505: Using deprecated method getargspec() (deprecated-method) -disable=C, R, W0120, W0125, W0212, W0221, W0223, W0231, W0235, +# E0012: pylint for python3 does not support inline deprecation +disable=C, R, E0012, W0120, W0125, W0212, W0221, W0223, W0231, W0235, W0401, W0404, W0511, W0603, W0612, W0613, W0621, W0622, W0703, W1401, W0107, W0706, W1505 diff --git a/nfv/tox.ini b/nfv/tox.ini index 62c5a52f..a63f4054 100644 --- a/nfv/tox.ini +++ b/nfv/tox.ini @@ -114,7 +114,8 @@ commands = pylint {[nfv]nfv_client_src_dir} \ # B310: Audit url open for permitted schemes # B506: Test for use of yaml load skips = B104,B108,B110,B310,B506 -exclude = nfv-docs,nfv-tests,nfv-debug-tools,unit_test +exclude = ./nfv-docs,./nfv-tests,./nfv-debug-tools,unit_test + [testenv:bandit] deps = {[nfv]deps}