Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improve the handling of "iteration dependent" errors and notes in finally clauses.#19270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, seehttps://pre-commit.ci
  • Loading branch information
@pre-commit-ci
pre-commit-ci[bot] committedJun 10, 2025
commitfc1c79075d1957d869b620fe3b3d9d7df99e9148
7 changes: 3 additions & 4 deletionsmypy/errors.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -4,10 +4,10 @@
import sys
import traceback
from collections import defaultdict
from collections.abc import Iterable
from collections.abc import Iterable, Iterator
from itertools import chain
from typing import Callable, Final,Iterator,NoReturn, Optional, TextIO, TypeVar
from typing_extensions import Literal,NamedTuple,Self, TypeAlias as _TypeAlias
from typing import Callable, Final, NoReturn, Optional, TextIO, TypeVar
from typing_extensions import Literal, Self, TypeAlias as _TypeAlias

from mypy import errorcodes as codes
from mypy.error_formatter import ErrorFormatter
Expand DownExpand Up@@ -222,7 +222,6 @@ def filtered_errors(self) -> list[ErrorInfo]:
return self._filtered



class ÎterationDependentErrors:
"""An `ÎterationDependentErrors` instance serves to collect the `unreachable`,
`redundant-expr`, and `redundant-casts` errors, as well as the revealed types,
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp