Skip to content

Commit 00c6274

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 450de8a commit 00c6274

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mypy/config_parser.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
else:
1616
import tomli as tomllib
1717

18-
from collections.abc import Iterable, Mapping, MutableMapping, Sequence
18+
from collections.abc import Mapping, MutableMapping, Sequence
1919
from typing import Any, Callable, Final, TextIO, Union
2020
from typing_extensions import TypeAlias as _TypeAlias
2121

@@ -216,8 +216,9 @@ def split_commas(value: str) -> list[str]:
216216
}
217217
)
218218

219+
219220
def _maybe_parse_individual_file(
220-
config_file: str, stderr: TextIO | None = None,
221+
config_file: str, stderr: TextIO | None = None
221222
) -> tuple[MutableMapping[str, Any], dict[str, _INI_PARSER_CALLABLE], str] | None:
222223

223224
if not os.path.exists(config_file):
@@ -266,8 +267,7 @@ def _find_config_file(
266267
return ret
267268

268269
if any(
269-
os.path.exists(os.path.join(current_dir, cvs_root))
270-
for cvs_root in (".git", ".hg")
270+
os.path.exists(os.path.join(current_dir, cvs_root)) for cvs_root in (".git", ".hg")
271271
):
272272
break
273273
parent_dir = os.path.dirname(current_dir)

0 commit comments

Comments
 (0)