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 Oct 15, 2024
1 parent 0b9a6d9 commit 715a0c0
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 715a0c0

Please sign in to comment.