镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ipykernel/datapub.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
class ZMQDataPublisher(Configurable):
"""A zmq data publisher."""

topic = topic = CBytes(b"datapub")
topic = CBytes(b"datapub")
session = Instance(Session, allow_none=True)
pub_socket = Any(allow_none=True)
parent_header = Dict({})
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,9 @@ ignore = [
"PTH123",
# use `X | Y` for type annotations, this does not works for dynamic getting type hints on older python
"UP007",
"UP031", # Use format specifiers instead of percent format
"PT023", # Use `@pytest.mark.skip` over `@pytest.mark.skip()`
"PT001", # autofixable: Use `@pytest.fixture` over `@pytest.fixture()`
]
unfixable = [
# Don't touch print statements
Expand Down