Skip to content

Commit 0650d0f

Browse files
committed
[Req report] Lintfix
1 parent 9b2a9e3 commit 0650d0f

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

test2text/pages/reports/report_by_req.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from itertools import groupby
21
import numpy as np
32
import streamlit as st
43

@@ -138,9 +137,6 @@ def make_a_report():
138137
)
139138

140139
if st.session_state["chosen_test_case"]:
141-
test_case = db.test_cases.get_by_id_raw(
142-
st.session_state["chosen_test_case"]
143-
)
144140
annotations = annotations_repo.fetch_annotations_by_test_case_with_distance_to_requirement(
145141
db,
146142
st.session_state["chosen_test_case"],

test2text/services/repositories/requirements/fetch_filtered.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def fetch_filtered_requirements(
1212
text_content: Optional[str] = None,
1313
smart_search_query: Optional[str] = None,
1414
) -> list[tuple[int, str, str]]:
15-
sql = f"""
15+
sql = """
1616
SELECT
1717
Requirements.id as req_id,
1818
Requirements.external_id as req_external_id,

0 commit comments

Comments
 (0)