Compare commits

2 Commits

Author SHA1 Message Date
091a2a0f97 fix colors linting
Some checks failed
Test Suite / test (3.12) (push) Successful in 1m27s
Test Suite / test (3.11) (push) Successful in 1m29s
Test Suite / lint (push) Failing after 10s
Test Suite / build (push) Has been skipped
Test Suite / test (3.11) (pull_request) Has been cancelled
Test Suite / test (3.12) (pull_request) Has been cancelled
Test Suite / lint (pull_request) Has been cancelled
Test Suite / build (pull_request) Has been cancelled
Security Scan / security (pull_request) Failing after 39s
Security Scan / dependency-check (pull_request) Failing after 34s
2025-08-13 20:40:08 -07:00
48326c6335 fix linting and other ci errors 2025-08-13 20:39:53 -07:00
6 changed files with 6 additions and 8 deletions

View File

@@ -37,7 +37,7 @@ jobs:
continue-on-error: true
- name: Run safety vulnerability check
run: uv run safety check --json --output safety-report.json
run: uv run safety check --json --save-json safety-report.json
continue-on-error: true
- name: Upload security reports

View File

@@ -1,8 +1,8 @@
import json
import uuid
import base64
from typing import List, Union
from ..models.schemas import Document, ProcessedData
from typing import List
from ..models.schemas import Document
class NDJSONParser:

View File

@@ -1,6 +1,5 @@
from abc import ABC, abstractmethod
import numpy as np
from typing import Optional, Tuple
from sklearn.decomposition import PCA
import umap
from openTSNE import TSNE

View File

@@ -1,4 +1,4 @@
from typing import List, Optional, Any, Dict
from typing import List, Optional
from dataclasses import dataclass
import numpy as np

View File

@@ -1,4 +1,3 @@
import numpy as np
from dash import callback, Input, Output, State
from ...data.processor import DataProcessor

View File

@@ -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)'