From ada476e3c1c1bcb32625b612123cfc4038d5bc84 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 12 Jun 2023 22:20:58 +0000 Subject: [PATCH 1/3] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.270 → v0.0.272](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.270...v0.0.272) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5cce9328..2a60075e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: - id: black - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.270 + rev: v0.0.272 hooks: - id: ruff args: ["--fix", "--show-fixes"] From aae0524f8aef26ca08d832e41a82c431acfc1a7d Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 14 Jun 2023 09:02:39 -0400 Subject: [PATCH 2/3] 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] From c9e0981955597ac4d697fe2734a161375cf8aae0 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 14 Jun 2023 09:14:44 -0400 Subject: [PATCH 3/3] tests: remove testpaths, since we have two incomplatible test suites --- pyproject.toml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 90420fca..592385f5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,10 +14,6 @@ target-version = ['py37', 'py38', 'py39', 'py310', 'py311'] minversion = "6.0" addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"] junit_family = "xunit2" -testpaths = [ - "test", - "unit_test", -] xfail_strict = true filterwarnings = ["error"] log_cli_level = "info"