Skip to content

Commit 7720154

Browse files
authored
Merge pull request #9129 from nicoddemus/fix-linting-main
Fix formatting
2 parents dd6d4b2 + 7f5e49e commit 7720154

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/_pytest/doctest.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,7 @@ def __init__(
190190
optionflags: int = 0,
191191
continue_on_failure: bool = True,
192192
) -> None:
193-
super().__init__(checker=checker, verbose=verbose, optionflags=optionflags
194-
)
193+
super().__init__(checker=checker, verbose=verbose, optionflags=optionflags)
195194
self.continue_on_failure = continue_on_failure
196195

197196
def report_failure(
@@ -512,7 +511,7 @@ def _find_lineno(self, obj, source_lines):
512511
if isinstance(obj, property):
513512
obj = getattr(obj, "fget", obj)
514513
# Type ignored because this is a private function.
515-
return super()._find_lineno(
514+
return super()._find_lineno( # type:ignore[misc]
516515
obj,
517516
source_lines,
518517
)
@@ -525,7 +524,8 @@ def _find(
525524
with _patch_unwrap_mock_aware():
526525

527526
# Type ignored because this is a private function.
528-
super()._find(tests, obj, name, module, source_lines, globs, seen
527+
super()._find( # type:ignore[misc]
528+
tests, obj, name, module, source_lines, globs, seen
529529
)
530530

531531
if self.path.name == "conftest.py":

0 commit comments

Comments
 (0)