Skip to content

Commit

Permalink
chore(deps-dev): bump ruff from 0.8.6 to 0.9.2 in /backend (#580)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump ruff from 0.8.6 to 0.9.2 in /backend

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.8.6 to 0.9.2.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.8.6...0.9.2)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(backend): formatted

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Arthur Deierlein <arthur.deierlein@adfinis.com>
  • Loading branch information
dependabot[bot] and c0rydoras authored Jan 24, 2025
1 parent 5d309aa commit c7d613d
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 25 deletions.
40 changes: 20 additions & 20 deletions backend/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ openpyxl = "3.0.10" # TODO: dependency of `pyexcel-xlsx` Remove as soon as https
psycopg = {extras = ["binary"], version = "^3.2.3"}

[tool.poetry.group.dev.dependencies]
ruff = "^0.8.6"
ruff = "^0.9.2"
coverage = "7.6.10"
django-extensions = "3.2.3"
factory-boy = "3.3.1"
Expand Down
2 changes: 1 addition & 1 deletion backend/timed/reports/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,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 c7d613d

Please sign in to comment.