Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 25, 2024
1 parent d3b7fa4 commit c8c509a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions flake8_docstrings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit c8c509a

Please sign in to comment.