Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#296)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Jan 30, 2024
1 parent c5621ab commit 7cef424
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# dependency. Make sure to update flake8-bugbear manually on a regular basis.
repos:
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
language_version: python3
Expand Down
6 changes: 3 additions & 3 deletions kr8s/_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,9 @@ async def _get(
headers = {}
if as_object:
group, version = as_object.version.split("/")
headers[
"Accept"
] = f"application/json;as={as_object.kind};v={version};g={group}"
headers["Accept"] = (
f"application/json;as={as_object.kind};v={version};g={group}"
)
async with self._get_kind(
kind,
namespace=namespace,
Expand Down
2 changes: 1 addition & 1 deletion kr8s/asyncio/_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ async def watch(
):
if api is None:
api = await _api(_asyncio=_asyncio)
async for (t, o) in api._watch(
async for t, o in api._watch(
kind=kind,
namespace=namespace,
label_selector=label_selector,
Expand Down

0 comments on commit 7cef424

Please sign in to comment.