Skip to content

Commit c7dc2bd

Browse files
committed
Fix lints
1 parent e296e4c commit c7dc2bd

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

openlayer/services/data_streamer.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,11 @@ def _load_inference_pipeline(self) -> None:
185185
)
186186
else:
187187
logger.warning(
188-
"No inference pipeline found. Data will not be streamed to Openlayer."
188+
"No inference pipeline found. Data will not be streamed to "
189+
"Openlayer."
189190
)
190191
self.inference_pipeline = inference_pipeline
191-
except Exception as exc:
192+
except Exception as exc: # pylint: disable=broad-except
192193
logger.error(
193194
"An error occurred while trying to load the inference pipeline: %s", exc
194195
)

openlayer/tracing/tracer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def create_step(
9393
if _publish:
9494
try:
9595
_streamer.stream_data(data=trace_data, config=config)
96-
except Exception as _:
96+
except Exception: # pylint: disable=broad-except
9797
logger.error("Could not stream data to Openlayer")
9898
else:
9999
logger.debug("Ending step %s", name)

0 commit comments

Comments
 (0)