From dcb427eb2ea0f431c4d9a95c6658ed0cf23822c2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 3 Dec 2024 11:03:25 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- zmq/constants.py | 40 ++++++++++------------------------------ 1 file changed, 10 insertions(+), 30 deletions(-) diff --git a/zmq/constants.py b/zmq/constants.py index cddf433a1..a8ffa9fb9 100644 --- a/zmq/constants.py +++ b/zmq/constants.py @@ -485,44 +485,24 @@ class DeviceType(IntEnum): EMTHREAD: int = Errno.EMTHREAD PROTOCOL_ERROR_WS_UNSPECIFIED: int = Event.PROTOCOL_ERROR_WS_UNSPECIFIED PROTOCOL_ERROR_ZMTP_UNSPECIFIED: int = Event.PROTOCOL_ERROR_ZMTP_UNSPECIFIED -PROTOCOL_ERROR_ZMTP_UNEXPECTED_COMMAND: int = ( - Event.PROTOCOL_ERROR_ZMTP_UNEXPECTED_COMMAND -) +PROTOCOL_ERROR_ZMTP_UNEXPECTED_COMMAND: int = Event.PROTOCOL_ERROR_ZMTP_UNEXPECTED_COMMAND PROTOCOL_ERROR_ZMTP_INVALID_SEQUENCE: int = Event.PROTOCOL_ERROR_ZMTP_INVALID_SEQUENCE PROTOCOL_ERROR_ZMTP_KEY_EXCHANGE: int = Event.PROTOCOL_ERROR_ZMTP_KEY_EXCHANGE -PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_UNSPECIFIED: int = ( - Event.PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_UNSPECIFIED -) -PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_MESSAGE: int = ( - Event.PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_MESSAGE -) -PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_HELLO: int = ( - Event.PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_HELLO -) -PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_INITIATE: int = ( - Event.PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_INITIATE -) -PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_ERROR: int = ( - Event.PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_ERROR -) -PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_READY: int = ( - Event.PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_READY -) -PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_WELCOME: int = ( - Event.PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_WELCOME -) +PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_UNSPECIFIED: int = Event.PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_UNSPECIFIED +PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_MESSAGE: int = Event.PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_MESSAGE +PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_HELLO: int = Event.PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_HELLO +PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_INITIATE: int = Event.PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_INITIATE +PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_ERROR: int = Event.PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_ERROR +PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_READY: int = Event.PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_READY +PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_WELCOME: int = Event.PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_WELCOME PROTOCOL_ERROR_ZMTP_INVALID_METADATA: int = Event.PROTOCOL_ERROR_ZMTP_INVALID_METADATA PROTOCOL_ERROR_ZMTP_CRYPTOGRAPHIC: int = Event.PROTOCOL_ERROR_ZMTP_CRYPTOGRAPHIC -PROTOCOL_ERROR_ZMTP_MECHANISM_MISMATCH: int = ( - Event.PROTOCOL_ERROR_ZMTP_MECHANISM_MISMATCH -) +PROTOCOL_ERROR_ZMTP_MECHANISM_MISMATCH: int = Event.PROTOCOL_ERROR_ZMTP_MECHANISM_MISMATCH PROTOCOL_ERROR_ZAP_UNSPECIFIED: int = Event.PROTOCOL_ERROR_ZAP_UNSPECIFIED PROTOCOL_ERROR_ZAP_MALFORMED_REPLY: int = Event.PROTOCOL_ERROR_ZAP_MALFORMED_REPLY PROTOCOL_ERROR_ZAP_BAD_REQUEST_ID: int = Event.PROTOCOL_ERROR_ZAP_BAD_REQUEST_ID PROTOCOL_ERROR_ZAP_BAD_VERSION: int = Event.PROTOCOL_ERROR_ZAP_BAD_VERSION -PROTOCOL_ERROR_ZAP_INVALID_STATUS_CODE: int = ( - Event.PROTOCOL_ERROR_ZAP_INVALID_STATUS_CODE -) +PROTOCOL_ERROR_ZAP_INVALID_STATUS_CODE: int = Event.PROTOCOL_ERROR_ZAP_INVALID_STATUS_CODE PROTOCOL_ERROR_ZAP_INVALID_METADATA: int = Event.PROTOCOL_ERROR_ZAP_INVALID_METADATA EVENT_CONNECTED: int = Event.CONNECTED EVENT_CONNECT_DELAYED: int = Event.CONNECT_DELAYED