Commit graph

5 commits

Author SHA1 Message Date
Felix Uhl
cfcc518b70 disko2: Add rudimentary plan generation 2024-11-27 23:18:54 +01:00
Felix Uhl
6651792c28 disko2: Validate config for type-safety in python 2024-11-17 21:37:39 +01:00
Felix Uhl
ae7891e21f disko2: Fix all mypy type checking errors
Belongs to d382a3cccf, but I authored that
on another machine.

Making sure vscode uses mypy from the environment is very important now,
because some of these errors get triggered in different ways depending
on the version.
2024-11-17 19:39:07 +01:00
Felix Uhl
70efb0a658 lib: Evaluate partition's _index parameter
This is required to be able to generate sgdisk invocations that are
equivalent to what's currently generated in nix.
2024-11-10 17:39:39 +01:00
Felix Uhl
c5d1a42af7 tests: Put tests with snapshots into directories
This makes the tests more readable and easier to browse.
Making sure the tests always run fine, no matter from which directory
they're started is a little detail we should either test for or
document.
2024-11-08 21:39:34 +01:00