diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1f55fad..a393d0f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ ci: autoupdate_schedule: monthly repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.20 + rev: v0.16.1 hooks: - id: ruff-check - id: ruff-format @@ -12,7 +12,7 @@ repos: - id: check-github-workflows - id: check-readthedocs - repo: https://github.com/zizmorcore/zizmor-pre-commit - rev: v1.26.1 + rev: v1.29.0 hooks: - id: zizmor - repo: https://github.com/asottile/blacken-docs @@ -21,6 +21,6 @@ repos: - id: blacken-docs additional_dependencies: [black==25.1.0] - repo: https://github.com/astral-sh/uv-pre-commit - rev: 0.11.26 + rev: 0.12.1 hooks: - id: uv-lock diff --git a/pyproject.toml b/pyproject.toml index f9a7d48..61b89c9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,12 +34,7 @@ docs = [ ] tests = ["pytest", "pytest-lazy-fixtures"] lint = ["pre-commit>=3.5,<5.0"] -dev = [ - { include-group = "tests" }, - { include-group = "lint" }, - "tox", - "tox-uv", -] +dev = [{ include-group = "tests" }, { include-group = "lint" }, "tox", "tox-uv"] [tool.uv] default-groups = ["dev"] @@ -70,6 +65,7 @@ ignore = [ "ANN", # let mypy handle annotation checks "ARG", # unused arguments are common w/ interfaces "C901", # don't enforce complexity level + "CPY001", # don't require copyright notice at top of file "COM", # let formatter take care commas "D", # don't require docstrings "DTZ007", # ignore false positives due to https://github.com/astral-sh/ruff/issues/1306