[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-05-04 22:40:12 +00:00
parent 899d80b587
commit 10c2186ede
1 changed files with 1 additions and 1 deletions

View File

@ -1107,7 +1107,7 @@ class TerminalReporter:
sep_title: str,
*,
style: str,
needed_opt: Optional[str] = None,
needed_opt: Optional[str] = None,
) -> None:
if style != "no":
if not needed_opt or self.hasopt(needed_opt):