From 52d8009ff32a2352852e1f43bdded8192e97aedf Mon Sep 17 00:00:00 2001 From: "Aleskarova, Dinara" Date: Tue, 2 May 2017 12:09:42 +0400 Subject: [PATCH] Fixed a typo and D200 error --- src/flake8/options/manager.py | 4 +--- tests/integration/test_checker.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/flake8/options/manager.py b/src/flake8/options/manager.py index 81d1352..3b7ed56 100644 --- a/src/flake8/options/manager.py +++ b/src/flake8/options/manager.py @@ -268,9 +268,7 @@ class OptionManager(object): setattr(options, option.dest, option.normalize(old_value)) 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.update_version_string() options, xargs = self.parser.parse_args(args, values) diff --git a/tests/integration/test_checker.py b/tests/integration/test_checker.py index 3a4c5cc..57d9bd2 100644 --- a/tests/integration/test_checker.py +++ b/tests/integration/test_checker.py @@ -33,7 +33,7 @@ def plugin_func(func): @plugin_func 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), )