diff options
author | Daniel Watkins <oddbloke@ubuntu.com> | 2020-07-15 10:26:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-15 10:26:12 -0400 |
commit | 4fe576516d65feda17ba78e9265a8e494a195e7b (patch) | |
tree | a4cdbde78f035bfca999c22ce5c1443ecb20c5ae /cloudinit/sources/helpers/vmware/imc | |
parent | 25289087e44c9c74543248519e37ca1f11b8a711 (diff) | |
download | vyos-cloud-init-4fe576516d65feda17ba78e9265a8e494a195e7b.tar.gz vyos-cloud-init-4fe576516d65feda17ba78e9265a8e494a195e7b.zip |
cloudinit: remove global disable of pylint W0107 and fix errors (#489)
* cloudinit: remove global disable of pylint W0107 and fix errors
This includes removing a test class which contained no tests but wasn't
detected as empty because of an errant pass statement.
* .pylintrc: update disable comment to match arguments
Diffstat (limited to 'cloudinit/sources/helpers/vmware/imc')
-rw-r--r-- | cloudinit/sources/helpers/vmware/imc/config_file.py | 1 | ||||
-rw-r--r-- | cloudinit/sources/helpers/vmware/imc/config_namespace.py | 1 | ||||
-rw-r--r-- | cloudinit/sources/helpers/vmware/imc/config_source.py | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/cloudinit/sources/helpers/vmware/imc/config_file.py b/cloudinit/sources/helpers/vmware/imc/config_file.py index 602af078..fc034c95 100644 --- a/cloudinit/sources/helpers/vmware/imc/config_file.py +++ b/cloudinit/sources/helpers/vmware/imc/config_file.py @@ -22,7 +22,6 @@ class ConfigFile(ConfigSource, dict): def __init__(self, filename): self._loadConfigFile(filename) - pass def _insertKey(self, key, val): """ diff --git a/cloudinit/sources/helpers/vmware/imc/config_namespace.py b/cloudinit/sources/helpers/vmware/imc/config_namespace.py index 2f29edd4..5899d8f7 100644 --- a/cloudinit/sources/helpers/vmware/imc/config_namespace.py +++ b/cloudinit/sources/helpers/vmware/imc/config_namespace.py @@ -10,6 +10,5 @@ from .config_source import ConfigSource class ConfigNamespace(ConfigSource): """Specifies the Config Namespace.""" - pass # vi: ts=4 expandtab diff --git a/cloudinit/sources/helpers/vmware/imc/config_source.py b/cloudinit/sources/helpers/vmware/imc/config_source.py index 2f8ea546..7ec06a9c 100644 --- a/cloudinit/sources/helpers/vmware/imc/config_source.py +++ b/cloudinit/sources/helpers/vmware/imc/config_source.py @@ -8,6 +8,5 @@ class ConfigSource(object): """Specifies a source for the Config Content.""" - pass # vi: ts=4 expandtab |