diff --git a/flake8_rst_docstrings.py b/flake8_rst_docstrings.py index a9b6496..65cfa68 100644 --- a/flake8_rst_docstrings.py +++ b/flake8_rst_docstrings.py @@ -657,8 +657,10 @@ def parse_docstring(self): return docstring return None - def parse_decorators(self): # noqa : D401 - """Called after first @ is found. + def parse_decorators(self): + """Parse decorators into a private attribute. + + Called after first @ is found. Parse decorators into self._accumulated_decorators. Continue to do so until encountering the 'def' or 'class' start token.