pkgs/cli: Add @override decorator

This commit is contained in:
a-kenji
2024-11-12 14:02:12 +01:00
committed by Mic92
parent 2374941216
commit 3b04c5484c

View File

@@ -1,6 +1,7 @@
import os
import subprocess
from pathlib import Path
from typing import override
from clan_cli.machines.machines import Machine
from clan_cli.nix import nix_shell
@@ -90,8 +91,7 @@ class SecretStore(SecretStoreBase):
hashes.sort()
return b"\n".join(hashes)
# FIXME: add this when we switch to python3.12
# @override
@override
def update_check(self) -> bool:
local_hash = self.generate_hash()
remote_hash = self.machine.target_host.run(