Enable mccabe complexity checks in flake8 (#49616)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
9f8e683ae3
commit
3fa8ffa731
42 changed files with 51 additions and 40 deletions
|
@ -122,7 +122,7 @@ class SegmentBuffer:
|
|||
self._stream_buffer.output.close()
|
||||
|
||||
|
||||
def stream_worker(source, options, segment_buffer, quit_event):
|
||||
def stream_worker(source, options, segment_buffer, quit_event): # noqa: C901
|
||||
"""Handle consuming streams."""
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue