Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ 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
args: [ --exit-non-zero-on-fix ]
- 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
Expand Down
2 changes: 1 addition & 1 deletion src/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down