Skip to content

Commit 10bbde9

Browse files
authored
Merge pull request #2022 from minrk/ruff-deprecated
[ci skip] update deprecated ruff config
2 parents 8d3ff32 + d8cc94c commit 10bbde9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ exclude = [
6868
]
6969
quote-style = "preserve"
7070

71-
[tool.ruff.isort]
71+
[tool.ruff.lint.isort]
7272
known-first-party = ["zmq", "zmq_test_utils"]
7373

7474
[tool.ruff.lint]
@@ -83,7 +83,6 @@ ignore = [
8383
"E721", # compare types
8484
"F841", # unused variables
8585
]
86-
ignore-init-module-imports = true
8786
exclude = ["buildutils/templates/*"]
8887

8988
[tool.ruff.lint.per-file-ignores]

Diff for: zmq/backend/cython/_zmq.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1740,7 +1740,7 @@ def _mq_relay(
17401740
return rc
17411741

17421742
# send second id (id_msg) first
1743-
#!!!! always send a copy before the original !!!!
1743+
# !!!! always send a copy before the original !!!!
17441744
rc = zmq_msg_copy(address(side_msg), address(id_msg))
17451745
if rc < 0:
17461746
return rc

0 commit comments

Comments
 (0)