Skip to content

Commit 384eee7

Browse files
committed
update
1 parent 3d9c53e commit 384eee7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

streamgrid/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def parse_args(args):
2424
config[k] = ast.literal_eval(v)
2525
continue
2626
except:
27-
pass
27+
pass # noqa
2828
# Handle booleans and numbers
2929
if v.lower() in ("true", "false"):
3030
config[k] = v.lower() == "true"

streamgrid/stream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,5 @@ def stop(self):
118118
try:
119119
while not self.frame_queue.empty():
120120
self.frame_queue.get_nowait()
121-
except:
121+
except: # noqa
122122
pass

streamgrid/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def get_optimal_grid_size(source_count, cols):
1010
try:
1111
from screeninfo import get_monitors
1212
sw, sh = get_monitors()[0].width, get_monitors()[0].height
13-
except:
13+
except: # noqa
1414
sw, sh = 1920, 1080 # Default fallback
1515

1616
rows = int(math.ceil(source_count / cols))

0 commit comments

Comments
 (0)