mirror of
https://github.com/nix-community/disko.git
synced 2026-01-16 03:08:30 +01:00
Using untyped dicts was not a safe way to pass arguments to error message rendering. Also, having one giant match statement wouldn't scale well. Using function pointers and kwargs, mypy can now properly check whether all required arguments are passed to DiskoMessage(). As a bonus, it's now easy to use the "Go to definition" LSP command for error codes, which wasn't possible before. |
||
|---|---|---|
| .. | ||
| disk-deactivate | ||
| disko | ||
| disko_lib | ||
| cli.nix | ||
| install-cli.nix | ||