diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 05e46bd3d..c7a119da3 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,6 +8,8 @@ updates: directory: ".github/workflows/" schedule: interval: "monthly" + cooldown: + default-days: 7 groups: actions: patterns: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9f45c29c0..ed7042799 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -55,13 +55,13 @@ repos: # Enforce that all noqa annotations always occur with specific codes. - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.14.3" + rev: "v0.14.7" hooks: - id: ruff-check args: ["--fix", "--show-fixes"] - repo: https://github.com/scientific-python/cookie - rev: 2025.10.20 + rev: 2025.11.21 hooks: - id: sp-repo-review @@ -105,12 +105,12 @@ repos: exclude: "extern/" - repo: https://github.com/woodruffw/zizmor-pre-commit - rev: v1.16.2 + rev: v1.18.0 hooks: - id: zizmor - repo: https://github.com/sphinx-contrib/sphinx-lint - rev: v1.0.1 + rev: v1.0.2 hooks: - id: sphinx-lint exclude: "(docs/_build/|photutils/extern/)" diff --git a/pyproject.toml b/pyproject.toml index dcb2983b3..cb1f3b383 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -129,6 +129,7 @@ addopts = [ '--strict-config', '--strict-markers', ] +log_level = 'INFO' log_cli_level = 'INFO' xfail_strict = true remote_data_strict = true @@ -195,6 +196,8 @@ ignore = [ 'PC140', # ignore using mypy in pre-commit 'PC180', # ignore using prettier in pre-commit 'PC901', # ignore using custom pre-commit update message + 'PC902', # ignore custom pre-commit CI autofix message + 'PP006', # ignore missing dependency-groups in pyproject.toml 'PY005', # ignore having a tests/ folder ]