Merge pull request #22949 from s0undt3ch/develop

Disable some PyLint false positives
This commit is contained in:
Justin Findlay 2015-04-22 11:01:34 -06:00
commit a5df4adfba
2 changed files with 3 additions and 3 deletions

View File

@ -159,7 +159,7 @@ class Master(parsers.MasterOptionParser):
logger.info('The salt master is shut down')
class Minion(parsers.MinionOptionParser):
class Minion(parsers.MinionOptionParser): # pylint: disable=no-init
'''
Create a minion server
'''
@ -311,7 +311,7 @@ class Minion(parsers.MinionOptionParser):
logger.info('The salt minion is shut down')
class ProxyMinion(parsers.MinionOptionParser):
class ProxyMinion(parsers.MinionOptionParser): # pylint: disable=no-init
'''
Create a proxy minion server
'''

View File

@ -1396,7 +1396,7 @@ class MasterOptionParser(six.with_metaclass(OptionParserMeta,
return config.master_config(self.get_config_file_path())
class MinionOptionParser(six.with_metaclass(OptionParserMeta, MasterOptionParser)):
class MinionOptionParser(six.with_metaclass(OptionParserMeta, MasterOptionParser)): # pylint: disable=no-init
description = (
'The Salt minion, receives commands from a remote Salt master.'