diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 59c2c983..292ad278 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,7 +21,7 @@ repos: - id: ruff-format - repo: https://github.com/scientific-python/cookie - rev: 2025.05.02 + rev: 2026.04.04 hooks: - id: sp-repo-review diff --git a/pyproject.toml b/pyproject.toml index 878c912a..8d5bcd23 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -122,10 +122,24 @@ exclude_lines = [ ] [tool.repo-review] -ignore = ["PY005", "PY007", "PP302", "PP308", "PP309", "GH103", "GH212", "PC111", "PC140", "PC160", "PC170", "PC180", "MY100", "RF103"] +ignore = [ + "PY007", + "PP302", + "PP308", + "PP309", + "GH103", + "GH105", # https://github.com/zarr-developers/zarr-python/issues/3798 + "GH212", + "MY100", + "PC111", + "PC140", + "PC160", + "PC170", + "PC180", +] [tool.pytest.ini_options] -addopts = "-ra --strict-config --strict-markers --cov=numcodecs --cov-report xml --doctest-modules --doctest-glob=*.pyx" +addopts = ["-ra", "--strict-config", "--strict-markers", "--cov=numcodecs", "--cov-report", "xml", "--doctest-modules", "--doctest-glob=*.pyx"] doctest_optionflags = [ "NORMALIZE_WHITESPACE", "ELLIPSIS", @@ -148,7 +162,7 @@ norecursedirs = [ "notebooks", "numcodecs.egg-info", ] -log_cli_level = "INFO" +log_level = "INFO" xfail_strict = true filterwarnings = [ "error",