diff --git a/flake8_docstrings.py b/flake8_docstrings.py index 3d74d9e..9330f63 100644 --- a/flake8_docstrings.py +++ b/flake8_docstrings.py @@ -3,6 +3,7 @@ pydocstyle docstrings convention needs error code and class parser for be included as module into flake8 """ + import re supports_ignore_inline_noqa = False @@ -156,9 +157,9 @@ def _call_check_source(self): else None ) if supports_ignore_self_only_init: - check_source_kwargs[ - "ignore_self_only_init" - ] = self.ignore_self_only_init + check_source_kwargs["ignore_self_only_init"] = ( + self.ignore_self_only_init + ) return self.checker.check_source( self.source,