From 79390d4eea20ca15fd8e088345528f31ed5fad1e Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 21 Dec 2024 10:40:06 -0400 Subject: Upgrade to nixos-24.05 I think this is the only "supported" nixos version now. But in any case scipy seemed to be broken on the older version, and I couldn't build my code that uses llm. Also, this allows me to get rid of the bild.os-unstable thing for Beryllium, which was just a sitting timebomb of breaking stuff. There are a lot of changes here because ruff updated to the very latest, and it changed some minor lint things. Also with the new nixos I get a proper cgit module, and some other breaking changes needed fixing. --- Biz/Bild/Example.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Biz/Bild/Example.py') diff --git a/Biz/Bild/Example.py b/Biz/Bild/Example.py index dd9a6ef..e5766ba 100644 --- a/Biz/Bild/Example.py +++ b/Biz/Bild/Example.py @@ -15,6 +15,9 @@ def cryptic_hello(name: str) -> str: Encrypt and decrypt `name`. Example taken from `cryptography` docs. + + Raises: + ValueError: if decryption fails """ key = cryptography.fernet.Fernet.generate_key() f = cryptography.fernet.Fernet(key) -- cgit v1.2.3