Commit graph

12 commits

Author SHA1 Message Date
Felix Uhl
59edac4aba disko2: Add jupyter notebook for experiments and debugging 2024-11-27 23:18:58 +01:00
Felix Uhl
cfcc518b70 disko2: Add rudimentary plan generation 2024-11-27 23:18:54 +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
da8a997397 dev: Switch to ruff for python linting & formatting
It combines multiple tools and is much faster.
2024-11-08 20:12:05 +01:00
Felix Uhl
4db452e40a disko2: Fix entrypoints
An oversight from 389235b63f
2024-11-03 22:12:00 +01:00
Felix Uhl
0cd949092d disko2: Add test for generate_config 2024-11-03 20:59:56 +01:00
Felix Uhl
fb5e63a3de dev: Add vscode settings for nixd and cSpell
Other people might use other tools, but having a known-good
configuration is useful.
2024-10-31 17:23:19 +01:00
Felix Uhl
e825c64c8d disko2: Implement rudimentary generate mode
Error handling could be done better, but I'm pretty happy with it
already.
The important part is aggregating all errors instead of failing on the
first issue we encounter.
2024-10-30 19:35:51 +01:00
Felix Uhl
8acd24950d disko2: Add evaluation for configs and flakes 2024-10-29 23:50:09 +01:00
Felix Uhl
db29851652 dev: Add vscode launch config for disko2 2024-10-29 16:42:04 +01:00
Felix Uhl
8cf1486b17 dev: Add mypy type checker 2024-10-29 16:42:04 +01:00
Felix Uhl
b102aeb547 disko2: Set up dev environment for python 2024-10-28 22:44:33 +01:00