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 29
29
class ZMQDataPublisher (Configurable ):
30
30
"""A zmq data publisher."""
31
31
32
- topic = topic = CBytes (b"datapub" )
32
+ topic = CBytes (b"datapub" )
33
33
session = Instance (Session , allow_none = True )
34
34
pub_socket = Any (allow_none = True )
35
35
parent_header = Dict ({})
Original file line number Diff line number Diff line change @@ -273,6 +273,11 @@ ignore = [
273
273
" G002" ,
274
274
# `open()` should be replaced by `Path.open()`
275
275
" 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()`
276
281
]
277
282
unfixable = [
278
283
# Don't touch print statements
You can’t perform that action at this time.
0 commit comments