Skip to content
Merged
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
14 changes: 13 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,16 @@ repos:
- id: ruff
args: [ --fix ]
# Run the formatter.
- id: ruff-format
- id: ruff-format
- repo: local
hooks:
- id: check-sync-async-method-for-queue
name: Check sync/async method for queue
entry: ./scripts/ci/pre_commit/check_sync_async_method_for_queue.py
files: ^pgmq_sqlalchemy/.*\.py$
language: python
- id: check-sync-async-method-for-operation
name: Check sync/async method for operation
entry: ./scripts/ci/pre_commit/check_sync_async_method_for_operation.py
files: ^pgmq_sqlalchemy/.*\.py$
language: python
Loading