Skip to content

Commit

Permalink
Bump black from 24.10.0 to 25.1.0 (#801)
Browse files Browse the repository at this point in the history
* Bump black from 24.10.0 to 25.1.0

Bumps [black](https://github.com/psf/black) from 24.10.0 to 25.1.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@24.10.0...25.1.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Adjust formatting for new black version

* Update lock file

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alejandro Ponce <[email protected]>
  • Loading branch information
dependabot[bot] and aponcedeleonch authored Jan 31, 2025
1 parent 4c83008 commit ada5737
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 27 deletions.
52 changes: 27 additions & 25 deletions 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 pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ cachetools = "==5.5.1"
[tool.poetry.group.dev.dependencies]
pytest = "==8.3.4"
pytest-cov = "==6.0.0"
black = "==24.10.0"
black = "==25.1.0"
ruff = "==0.9.3"
bandit = "==1.8.2"
build = "==1.2.2.post1"
Expand Down
2 changes: 1 addition & 1 deletion src/codegate/providers/llamacpp/normalizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def __aiter__(self):
def _create_delta(
choice_delta: Union[
ChatCompletionStreamResponseDelta, ChatCompletionStreamResponseDeltaEmpty
]
],
) -> Delta:
if not choice_delta: # Handles empty dict case
return Delta(content=None, role=None)
Expand Down

0 comments on commit ada5737

Please sign in to comment.