mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-07 21:44:18 +00:00
Fixed a typo and D200 error
This commit is contained in:
parent
f1c8abe003
commit
52d8009ff3
2 changed files with 2 additions and 4 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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), )
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue