diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5cce9328..f62698d6 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"] @@ -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/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" 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]