lint: catch excess quotes at the start of docstrings
Sometimes people start docstrings with 4 quotes and don't notice.
BUG=None
TEST=`cros lint` is still clean
Change-Id: Id16d48c48b95effb848da57dd38e7f8ad38fc1b8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/1731471
Tested-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Alex Klein <saklein@chromium.org>
diff --git a/cli/command.py b/cli/command.py
index e167c7f..cdb3536 100644
--- a/cli/command.py
+++ b/cli/command.py
@@ -94,7 +94,7 @@
"""Decorator that sanity checks and adds class to list of usable commands."""
def InnerCommandDecorator(original_class):
- """"Inner Decorator that actually wraps the class."""
+ """Inner Decorator that actually wraps the class."""
if not hasattr(original_class, '__doc__'):
raise InvalidCommandError('All handlers must have docstrings: %s' %
original_class)