diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 11cdd42..79ae836 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: "v5.0.0" + rev: "v6.0.0" hooks: - id: check-added-large-files - id: check-case-conflict @@ -26,20 +26,20 @@ repos: - id: requirements-txt-fixer - id: trailing-whitespace -- repo: https://github.com/psf/black - rev: "24.10.0" +- repo: https://github.com/psf/black-pre-commit-mirror + rev: "26.5.1" hooks: - id: black additional_dependencies: [tomli] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.3 + rev: v0.15.15 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v19.1.5 + rev: v22.1.5 hooks: - id: clang-format types_or: [c, c++] @@ -50,14 +50,14 @@ repos: - id: cmake-format - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 + rev: v2.4.2 hooks: - id: codespell args: [-w] additional_dependencies: [tomli] - repo: https://github.com/keewis/blackdoc - rev: v0.3.9 + rev: v0.4.6 hooks: - id: blackdoc additional_dependencies: [tomli] diff --git a/README.md b/README.md index ffb70b3..23dbc57 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ import numpy as np # tetrahedralize unit cube # define points -points=[ +points = [ [0.0, 0.0, 0.0], [1.0, 0.0, 0.0], [0.0, 1.0, 0.0],