diff --git a/src/embeddingbuddy/visualization/colors.py b/src/embeddingbuddy/visualization/colors.py index dc3da3f..d263228 100644 --- a/src/embeddingbuddy/visualization/colors.py +++ b/src/embeddingbuddy/visualization/colors.py @@ -1,4 +1,4 @@ -from typing import List, Dict, Any +from typing import List import plotly.colors as pc from ..models.schemas import Document @@ -29,5 +29,5 @@ class ColorMapper: gray_value * 0.7 + rgb[1] * 0.3, gray_value * 0.7 + rgb[2] * 0.3) return f'rgb({int(gray_rgb[0])},{int(gray_rgb[1])},{int(gray_rgb[2])})' - except: + except: # noqa: E722 return 'rgb(128,128,128)' \ No newline at end of file