From 865cf033b7b9f56b83271520b0d4f6371cd5c254 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 14:15:41 +0000 Subject: [PATCH] chore(deps): update pre-commit hook charliermarsh/ruff-pre-commit to v0.8.1 (#418) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update pre-commit hook charliermarsh/ruff-pre-commit to v0.8.1 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Fix __all__ order Signed-off-by: Aurélien Bompard --------- Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Aurélien Bompard Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Aurélien Bompard --- .pre-commit-config.yaml | 2 +- fedora_messaging/api.py | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 89ef9ff6..d6e1b3f1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: # Ruff - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: v0.7.4 + rev: v0.8.1 hooks: - id: ruff diff --git a/fedora_messaging/api.py b/fedora_messaging/api.py index 775e2ae4..c21587bf 100644 --- a/fedora_messaging/api.py +++ b/fedora_messaging/api.py @@ -23,18 +23,18 @@ __all__ = ( + "SERIALIZED_MESSAGE_SCHEMA", + "SEVERITIES", + "Consumer", "Message", "consume", - "publish", - "twisted_consume", - "Consumer", + "dumps", + "loads", "pre_publish_signal", - "publish_signal", + "publish", "publish_failed_signal", - "loads", - "dumps", - "SERIALIZED_MESSAGE_SCHEMA", - "SEVERITIES", + "publish_signal", + "twisted_consume", ) # The Twisted service that consumers are registered with.