Skip to content

Commit

Permalink
chore(backend): formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
c0rydoras committed Jan 24, 2025
1 parent d0fa430 commit c4a84ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion backend/timed/reports/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def _create_workreport(
# calculate location of total billable hours as insert rows moved it
table[
pos + len(tasks) + 2, 2
].formula = f'of:=SUMIF(F13:F{pos -1!s};"yes";C13:C{pos - 1!s})'
].formula = f'of:=SUMIF(F13:F{pos - 1!s};"yes";C13:C{pos - 1!s})'

name = self._generate_workreport_name(from_date, project)
return (name, doc)
Expand Down
6 changes: 3 additions & 3 deletions backend/timed/tracking/tests/test_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -1296,7 +1296,7 @@ def test_report_update_bulk_verify_reviewer_multiple_notify(
}
}

query_params = "?editable=1" f"&reviewer={reviewer.id}" "&id=" + ",".join(
query_params = f"?editable=1&reviewer={reviewer.id}&id=" + ",".join(
str(r.id) for r in [report1_1, report1_2, report2, report3]
)
response = internal_employee_client.post(url + query_params, data)
Expand Down Expand Up @@ -1429,7 +1429,7 @@ def test_report_notify_rendering(

url = reverse("report-bulk")

query_params = "?editable=1" f"&reviewer={reviewer.id}" "&id=" + ",".join(
query_params = f"?editable=1&reviewer={reviewer.id}&id=" + ",".join(
str(r.id) for r in [report1, report2, report3, report4]
)
response = internal_employee_client.post(url + query_params, data)
Expand Down Expand Up @@ -1805,7 +1805,7 @@ def test_report_reject_multiple_notify(
}
}

query_params = "?editable=1" f"&reviewer={reviewer.id}" "&id=" + ",".join(
query_params = f"?editable=1&reviewer={reviewer.id}&id=" + ",".join(
str(r.id) for r in [report1_1, report1_2, report2, report3]
)
response = internal_employee_client.post(url + query_params, data)
Expand Down

0 comments on commit c4a84ec

Please sign in to comment.