diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f688c7ed6..cdd5356e1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: files: '^src/\w+/(tests|0\.0\.0)/.*\.py$' - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.13.0 + rev: v0.14.0 hooks: - id: ruff name: Check code with Ruff, apply automatic fixes @@ -22,7 +22,7 @@ repos: - id: ruff-format name: Format code with Ruff - repo: https://github.com/crate-ci/typos - rev: v1.36.2 + rev: v1.38.1 hooks: - id: typos - repo: https://github.com/pre-commit/pre-commit-hooks diff --git a/src/testing.py b/src/testing.py index 70b108a21..5ba7d6258 100644 --- a/src/testing.py +++ b/src/testing.py @@ -442,7 +442,7 @@ def __init_subclass__(cls, abstract=False): if not abstract and not hasattr(cls, "invariant"): _logger.error("%s (IntegrityCase) must define an invariant method", cls.__name__) - # IntegrityCase should not alterate database: + # IntegrityCase should not alter database: # TODO give a test cursor, don't commit after prepare, use a protected cursor to set_value def prepare(self):