diff --git a/{{cookiecutter.plugin_name}}/.pre-commit-config.yaml b/{{cookiecutter.plugin_name}}/.pre-commit-config.yaml index ce6cc96..d00ab6c 100644 --- a/{{cookiecutter.plugin_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.plugin_name}}/.pre-commit-config.yaml @@ -1,27 +1,27 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.2.0 + rev: v4.5.0 hooks: - id: check-docstring-first - id: end-of-file-fixer - id: trailing-whitespace exclude: ^\.napari-hub/.* - id: check-yaml # checks for correct yaml syntax for github actions ex. - - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.256 + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.3.4 hooks: - id: ruff - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 24.3.0 hooks: - id: black - repo: https://github.com/tlambert03/napari-plugin-checks rev: v0.3.0 hooks: - id: napari-plugin-checks - # https://mypy.readthedocs.io/en/stable/introduction.html + # https://mypy.readthedocs.io/en/stable/ # you may wish to add this as well! # - repo: https://github.com/pre-commit/mirrors-mypy - # rev: v0.910-1 + # rev: v1.9.0 # hooks: # - id: mypy