use pathlib everywhere

This commit is contained in:
Jörg Thalheim
2024-09-02 18:25:17 +02:00
parent 0de5dea92a
commit 659e5b37dd
28 changed files with 88 additions and 113 deletions

View File

@@ -1,4 +1,3 @@
import os
from pathlib import Path
from typing import TYPE_CHECKING
@@ -13,7 +12,7 @@ from stdout import CaptureOutput
if TYPE_CHECKING:
from age_keys import KeyPair
no_kvm = not os.path.exists("/dev/kvm")
no_kvm = not Path("/dev/kvm").exists()
@pytest.mark.impure