Add a formatter.

This commit is contained in:
Nicolas Patry 2024-09-12 11:44:10 +02:00
parent ca934411d1
commit 21832a1d4d
No known key found for this signature in database
GPG Key ID: 64AF4752B2967863

View File

@ -69,6 +69,7 @@
server = pkgs.python3.pkgs.callPackage ./nix/server.nix { inherit nix-filter; };
in
{
formatter = pkgs.nixfmt-rfc-style;
devShells = with pkgs; rec {
default = pure;
@ -81,18 +82,19 @@
];
};
test = mkShell {
buildInputs = [
benchmark
launcher
router
server
]
++ (with python3.pkgs; [
docker
pytest
pytest-asyncio
syrupy
]);
buildInputs =
[
benchmark
launcher
router
server
]
++ (with python3.pkgs; [
docker
pytest
pytest-asyncio
syrupy
]);
};
impure = mkShell {