Skip to content
This repository was archived by the owner on Jul 12, 2025. It is now read-only.

Commit 69f9c43

Browse files
committed
Enclose runtime type within quotes
1 parent 7f04a37 commit 69f9c43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

poetry_to_pre_commit/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def pre_commit_config_roundtrip(
1515
path: pathlib.Path,
1616
) -> Generator[dict[str, Any], None, None]:
1717
yaml = ruamel.yaml.YAML()
18-
config = cast(dict[str, Any], yaml.load(path.read_text()))
18+
config = cast("dict[str, Any]", yaml.load(path.read_text()))
1919
old_config = copy.deepcopy(config)
2020
yield config
2121
if config != old_config:

0 commit comments

Comments
 (0)