From d8cc94c120943ca2df70e8423dc8403f36017396 Mon Sep 17 00:00:00 2001 From: Min RK Date: Tue, 20 Aug 2024 12:13:37 +0200 Subject: [PATCH] [ci skip] deprecated ruff config --- pyproject.toml | 3 +-- zmq/backend/cython/_zmq.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index dca3e932d..41b700903 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,7 +68,7 @@ exclude = [ ] quote-style = "preserve" -[tool.ruff.isort] +[tool.ruff.lint.isort] known-first-party = ["zmq", "zmq_test_utils"] [tool.ruff.lint] @@ -83,7 +83,6 @@ ignore = [ "E721", # compare types "F841", # unused variables ] -ignore-init-module-imports = true exclude = ["buildutils/templates/*"] [tool.ruff.lint.per-file-ignores] diff --git a/zmq/backend/cython/_zmq.py b/zmq/backend/cython/_zmq.py index 5c7b8e453..8cac83bee 100644 --- a/zmq/backend/cython/_zmq.py +++ b/zmq/backend/cython/_zmq.py @@ -1740,7 +1740,7 @@ def _mq_relay( return rc # send second id (id_msg) first - #!!!! always send a copy before the original !!!! + # !!!! always send a copy before the original !!!! rc = zmq_msg_copy(address(side_msg), address(id_msg)) if rc < 0: return rc