diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 278afd46..4ca48656 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,30 +7,31 @@ exclude: .asv repos: - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.24.1 + rev: v0.25 hooks: - id: validate-pyproject - repo: https://github.com/rhysd/actionlint - rev: v1.7.10 + rev: v1.7.12 hooks: - id: actionlint files: "^\\.github/workflows/.*\\.ya?ml$" - repo: https://github.com/adhtruong/mirrors-typos - rev: v1.41.0 + rev: v1.46.0 hooks: - id: typos args: [--force-exclude] # omitting --write-changes - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.10 + rev: v0.15.12 hooks: - id: ruff-check args: [--fix, --unsafe-fixes] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy + # this must match the mypy version in pyproject.toml rev: v1.19.1 hooks: - id: mypy diff --git a/tests/test_evented_decorator.py b/tests/test_evented_decorator.py index ca1f8fee..74c30103 100644 --- a/tests/test_evented_decorator.py +++ b/tests/test_evented_decorator.py @@ -266,7 +266,7 @@ class Foo: assert "all" in group and isinstance(group["all"], SignalInstance) assert not isinstance(group["all"], SignalRelay) - with pytest.raises(AttributeError): # it's not writeable + with pytest.raises(AttributeError): # it's not writable group.all = SignalRelay({}) # type: ignore assert group.psygnals_uniform() is False