Skip to content

Commit

Permalink
Bump black from 23.3.0 to 24.3.0 (#15)
Browse files Browse the repository at this point in the history
Bump black from 23.3.0 to 24.3.0

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

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
...

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

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sigurd Ljødal <[email protected]>
  • Loading branch information
dependabot[bot] and ljodal authored Apr 19, 2024
1 parent e433cb9 commit 1f109ed
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 31 deletions.
2 changes: 1 addition & 1 deletion django_api_decorator/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ class PydanticErrorDict(TypedDict):

def handle_validation_error(
request: HttpRequest,
exception: (ValidationError | pydantic.ValidationError),
exception: ValidationError | pydantic.ValidationError,
) -> HttpResponse:
errors: list[str]
field_errors: Mapping[str, FieldError]
Expand Down
56 changes: 27 additions & 29 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 @@ -17,7 +17,7 @@ pydantic = "^2.0"

[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
black = "^23.3.0"
black = ">=23.3,<25.0"
isort = "^5.12.0"
flake8 = "^6.0.0"
pytest-django = "^4.5.2"
Expand Down

0 comments on commit 1f109ed

Please sign in to comment.