Fixed a typo and D200 error

This commit is contained in:
Aleskarova, Dinara 2017-05-02 12:09:42 +04:00
parent f1c8abe003
commit 52d8009ff3
2 changed files with 2 additions and 4 deletions

View file

@ -268,9 +268,7 @@ class OptionManager(object):
setattr(options, option.dest, option.normalize(old_value)) setattr(options, option.dest, option.normalize(old_value))
def parse_args(self, args=None, values=None): def parse_args(self, args=None, values=None):
""" """Use simple proxy to calling the OptionParser's parse_args method."""
Use simple proxy to calling the OptionParser's parse_args method.
"""
self.generate_epilog() self.generate_epilog()
self.update_version_string() self.update_version_string()
options, xargs = self.parser.parse_args(args, values) options, xargs = self.parser.parse_args(args, values)

View file

@ -33,7 +33,7 @@ def plugin_func(func):
@plugin_func @plugin_func
def plugin_func_gen(tree): def plugin_func_gen(tree):
"""Yield the expected report with simple file plugin funciton.""" """Yield the expected report with simple file plugin function."""
yield EXPECTED_REPORT + (type(plugin_func_gen), ) yield EXPECTED_REPORT + (type(plugin_func_gen), )