Merge pull request #1521 from pypa/pre-commit-ci-update-config
This commit is contained in:
@@ -19,7 +19,7 @@ repos:
|
|||||||
- id: black
|
- id: black
|
||||||
|
|
||||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||||
rev: v0.0.270
|
rev: v0.0.272
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: ["--fix", "--show-fixes"]
|
args: ["--fix", "--show-fixes"]
|
||||||
@@ -50,6 +50,7 @@ repos:
|
|||||||
- types-pyyaml
|
- types-pyyaml
|
||||||
- types-requests
|
- types-requests
|
||||||
- bracex
|
- bracex
|
||||||
|
- markdown-it-py<3
|
||||||
- id: mypy
|
- id: mypy
|
||||||
name: mypy 3.11
|
name: mypy 3.11
|
||||||
exclude: ^cibuildwheel/resources/.*py$
|
exclude: ^cibuildwheel/resources/.*py$
|
||||||
|
|||||||
@@ -14,10 +14,6 @@ target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
|
|||||||
minversion = "6.0"
|
minversion = "6.0"
|
||||||
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
|
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
|
||||||
junit_family = "xunit2"
|
junit_family = "xunit2"
|
||||||
testpaths = [
|
|
||||||
"test",
|
|
||||||
"unit_test",
|
|
||||||
]
|
|
||||||
xfail_strict = true
|
xfail_strict = true
|
||||||
filterwarnings = ["error"]
|
filterwarnings = ["error"]
|
||||||
log_cli_level = "info"
|
log_cli_level = "info"
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ before-all = "true"
|
|||||||
assert not kwargs["container"]["simulate_32_bit"]
|
assert not kwargs["container"]["simulate_32_bit"]
|
||||||
identifiers = {x.identifier for x in kwargs["platform_configs"]}
|
identifiers = {x.identifier for x in kwargs["platform_configs"]}
|
||||||
assert identifiers == {
|
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]
|
kwargs = build_in_container.call_args_list[3][1]
|
||||||
|
|||||||
Reference in New Issue
Block a user