Skip to content

Refactor and add testing #121

Refactor and add testing

Refactor and add testing #121

Triggered via pull request November 24, 2024 01:48
Status Failure
Total duration 1m 18s
Artifacts

ci_ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (F401): MinuteMate/back/main_fn.py#L4
MinuteMate/back/main_fn.py:4:8: F401 `os` imported but unused
Ruff (F401): MinuteMate/back/main_fn.py#L10
MinuteMate/back/main_fn.py:10:35: F401 `weaviate.classes.init.AdditionalConfig` imported but unused
Ruff (F401): MinuteMate/back/main_fn.py#L11
MinuteMate/back/main_fn.py:11:35: F401 `weaviate.classes.init.Timeout` imported but unused
Ruff (F401): MinuteMate/back/main_fn.py#L12
MinuteMate/back/main_fn.py:12:36: F401 `weaviate.classes.query.Rerank` imported but unused
Ruff (F811): MinuteMate/back/main_fn.py#L46
MinuteMate/back/main_fn.py:46:12: F811 Redefinition of unused `os` from line 4
Ruff (F841): MinuteMate/back/main_fn.py#L52
MinuteMate/back/main_fn.py:52:5: F841 Local variable `OPENAI_EMBEDDING_URL` is assigned to but never used
Ruff (F841): MinuteMate/back/main_fn.py#L53
MinuteMate/back/main_fn.py:53:5: F841 Local variable `OPENAI_GENERATION_URL` is assigned to but never used
Ruff (F841): MinuteMate/back/main_fn.py#L56
MinuteMate/back/main_fn.py:56:5: F841 Local variable `RESPONDING_GENERATIVE_MODEL` is assigned to but never used
Ruff (E402): MinuteMate/back/main_fn_new.py#L11
MinuteMate/back/main_fn_new.py:11:1: E402 Module level import not at top of file
Ruff (E402): MinuteMate/back/main_fn_new.py#L12
MinuteMate/back/main_fn_new.py:12:1: E402 Module level import not at top of file