2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-26 11:48:27 +08:00

flake: add alejandra as a formatter

This commit is contained in:
Charlie Root 2024-12-13 22:19:03 +01:00 committed by Sébastien Bourdeauducq
parent 67dde30625
commit db293d5ecd

View File

@ -426,6 +426,8 @@
packages.x86_64-linux.default = pkgs.python3.withPackages(_: [ packages.x86_64-linux.artiq ]); packages.x86_64-linux.default = pkgs.python3.withPackages(_: [ packages.x86_64-linux.artiq ]);
formatter.x86_64-linux = pkgs.alejandra;
devShells.x86_64-linux = { devShells.x86_64-linux = {
# Main development shell with everything you need to develop ARTIQ on Linux. # Main development shell with everything you need to develop ARTIQ on Linux.
# The current copy of the ARTIQ sources is added to PYTHONPATH so changes can be tested instantly. # The current copy of the ARTIQ sources is added to PYTHONPATH so changes can be tested instantly.