diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index adbdffd0..4e068756 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/PyCQA/flake8 - rev: 7.1.1 + rev: 7.2.0 hooks: - id: flake8 additional_dependencies: ["flake8-eradicate"] @@ -18,7 +18,7 @@ repos: files: '.*\.mdx?$' - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: check-merge-conflict @@ -32,6 +32,6 @@ repos: args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variable'] - repo: https://github.com/psf/black - rev: 24.8.0 + rev: 25.1.0 hooks: - id: black diff --git a/django-subscriptions-rxdb/src/api/schema.py b/django-subscriptions-rxdb/src/api/schema.py index 762f593e..02a7356c 100644 --- a/django-subscriptions-rxdb/src/api/schema.py +++ b/django-subscriptions-rxdb/src/api/schema.py @@ -49,7 +49,7 @@ def filterHeroes( if not updatedAt: qs = [] else: - qs = [(Q(updatedAt__gt=updatedAt) | (Q(updatedAt=updatedAt) & Q(id__gt=id)))] + qs = [Q(updatedAt__gt=updatedAt) | (Q(updatedAt=updatedAt) & Q(id__gt=id))] return [ Hero(