Skip to content

Commit

Permalink
Bump black from 22.8.0 to 23.12.0 (#82)
Browse files Browse the repository at this point in the history
* Bump black from 22.8.0 to 23.12.0

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

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

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

* Format code

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Defelo <[email protected]>
  • Loading branch information
dependabot[bot] and Defelo authored Dec 22, 2023
1 parent 7cd44dc commit ebf80a8
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 50 deletions.
1 change: 0 additions & 1 deletion api/utils/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ def redis_cached(
prefix: str, *key: str, ttl: int = settings.cache_ttl
) -> Callable[[Callable[..., Awaitable[T]]], Callable[..., Awaitable[T]]]:
def decorator(func: Callable[..., Awaitable[T]]) -> Callable[..., Awaitable[T]]:

pos_cnt = 0
param_indices: dict[str, int] = {}
for param in inspect.signature(func).parameters.values():
Expand Down
79 changes: 31 additions & 48 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 @@ -28,7 +28,7 @@ redis = "^5.0.1"
[tool.poetry.group.dev.dependencies]
flake8 = "^4.0.1"
isort = "^5.13.2"
black = "^22.8.0"
black = "^23.12.0"
wemake-python-styleguide = "^0.17.0"
mypy = "^1.8"
SQLAlchemy = { extras = ["mypy"], version = "^1.4.42" }
Expand Down

0 comments on commit ebf80a8

Please sign in to comment.