From aae0524f8aef26ca08d832e41a82c431acfc1a7d Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 14 Jun 2023 09:02:39 -0400 Subject: [PATCH] chore: fix for Ruff & markdown-it updates --- .pre-commit-config.yaml | 1 + unit_test/option_prepare_test.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2a60075e..f62698d6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -50,6 +50,7 @@ repos: - types-pyyaml - types-requests - bracex + - markdown-it-py<3 - id: mypy name: mypy 3.11 exclude: ^cibuildwheel/resources/.*py$ diff --git a/unit_test/option_prepare_test.py b/unit_test/option_prepare_test.py index b5c361b2..336aa5c5 100644 --- a/unit_test/option_prepare_test.py +++ b/unit_test/option_prepare_test.py @@ -151,7 +151,7 @@ before-all = "true" assert not kwargs["container"]["simulate_32_bit"] identifiers = {x.identifier for x in kwargs["platform_configs"]} assert identifiers == { - f"{x}-manylinux_x86_64" for x in {"cp310", "cp311", "pp37", "pp38", "pp39"} + f"{x}-manylinux_x86_64" for x in ["cp310", "cp311", "pp37", "pp38", "pp39"] } kwargs = build_in_container.call_args_list[3][1]