From 62b7986842e005a96eb329b0472d11c58d024e4c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 01:47:53 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- flake8_docstrings.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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,