Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#450)
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>
Co-authored-by: Jacob Tomlinson <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and jacobtomlinson authored Jul 23, 2024
1 parent d076eca commit 8a1dbdc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
- --target-version=py38
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: 'v0.5.1'
rev: 'v0.5.4'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand All @@ -26,7 +26,7 @@ repos:
- --no-extra-eol
- --detect-license-in-X-top-lines=5
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.10.1'
rev: 'v1.11.0'
hooks:
- id: mypy
exclude: "examples|tests|venv|ci|docs|conftest.py"
Expand Down
4 changes: 2 additions & 2 deletions kr8s/tests/test_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ async def test_pod_object_from_name_type(example_pod_spec):
pod2 = await object_from_name_type(f"pod/{pod.name}", namespace=pod.namespace)
pod3 = await object_from_name_type(f"pod.v1/{pod.name}", namespace=pod.namespace)
assert pod2.name == pod.name
assert type(pod2) == type(pod)
assert type(pod2) is type(pod)
assert pod3.name == pod.name
assert type(pod3) == type(pod)
assert type(pod3) is type(pod)
await pod.delete()


Expand Down

0 comments on commit 8a1dbdc

Please sign in to comment.