feat: update to nixos-25.05 (beta)
All checks were successful
/ check (push) Successful in 9s
/ build-packages (push) Successful in 15s
/ build-vm (push) Successful in 3s
/ report-size (push) Successful in 4s

Iron out the issues before it releases.
This commit is contained in:
Jalil David Salamé Messina 2025-05-19 22:59:11 +02:00
parent bca776687f
commit 2410b3fe2a
Signed by: jalil
GPG key ID: F016B9E770737A0B
5 changed files with 162 additions and 59 deletions

View file

@ -7,10 +7,10 @@ import typing
import click
def expect[T](typ: type[T], value: object) -> T:
if not isinstance(value, typ):
def expect[T](type_: type[T], value: object) -> T:
if not isinstance(value, type_):
raise ValueError(
f"expected value to be of type {typ} but was of type {type(value)}"
f"expected value to be of type {type_} but was of type {type(value)}"
)
return value