Skip to content

Commit

Permalink
Merge pull request zeromq#2022 from minrk/ruff-deprecated
Browse files Browse the repository at this point in the history
[ci skip] update deprecated ruff config
  • Loading branch information
minrk authored Aug 20, 2024
2 parents 8d3ff32 + d8cc94c commit 10bbde9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion zmq/backend/cython/_zmq.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 10bbde9

Please sign in to comment.