mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 04:44:52 +00:00
Add a formatter.
This commit is contained in:
parent
ca934411d1
commit
21832a1d4d
26
flake.nix
26
flake.nix
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user