diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0191b521..6fee85dc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -50,11 +50,11 @@ repos: - id: black language_version: python3.10 - repo: https://github.com/asottile/blacken-docs - rev: 1.15.0 + rev: 1.16.0 hooks: - id: blacken-docs - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.282 + rev: v0.0.287 hooks: - id: ruff # args: @@ -80,7 +80,7 @@ repos: - --ignore=B018,T201 exclude: src/lcm/sandbox/ - repo: https://github.com/executablebooks/mdformat - rev: 0.7.16 + rev: 0.7.17 hooks: - id: mdformat additional_dependencies: diff --git a/tests/test_discrete_emax.py b/tests/test_discrete_emax.py index eedb1817..90c35cab 100644 --- a/tests/test_discrete_emax.py +++ b/tests/test_discrete_emax.py @@ -72,7 +72,7 @@ def test_aggregation_without_shocks(values, segment_info, collapse, n_extra_axes for scale, exp in zip(scaling_factors, expected_results, strict=True): for collapse in [True, False]: for n_axes in range(3): - test_cases.append((scale, exp, collapse, n_axes)) # noqa: PERF401 + test_cases.append((scale, exp, collapse, n_axes)) @pytest.mark.parametrize(("scale", "expected", "collapse", "n_extra_axes"), test_cases)