File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 2929class ZMQDataPublisher (Configurable ):
3030 """A zmq data publisher."""
3131
32- topic = topic = CBytes (b"datapub" )
32+ topic = CBytes (b"datapub" )
3333 session = Instance (Session , allow_none = True )
3434 pub_socket = Any (allow_none = True )
3535 parent_header = Dict ({})
Original file line number Diff line number Diff line change @@ -273,6 +273,11 @@ ignore = [
273273 " G002" ,
274274 # `open()` should be replaced by `Path.open()`
275275 " PTH123" ,
276+ # use `X | Y` for type annotations, this does not works for dynamic getting type hints on older python
277+ " UP007" ,
278+ " UP031" , # Use format specifiers instead of percent format
279+ " PT023" , # Use `@pytest.mark.skip` over `@pytest.mark.skip()`
280+ " PT001" , # autofixable: Use `@pytest.fixture` over `@pytest.fixture()`
276281]
277282unfixable = [
278283 # Don't touch print statements
You can’t perform that action at this time.
0 commit comments