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
@ -69,6 +69,7 @@
|
|||||||
server = pkgs.python3.pkgs.callPackage ./nix/server.nix { inherit nix-filter; };
|
server = pkgs.python3.pkgs.callPackage ./nix/server.nix { inherit nix-filter; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
formatter = pkgs.nixfmt-rfc-style;
|
||||||
devShells = with pkgs; rec {
|
devShells = with pkgs; rec {
|
||||||
default = pure;
|
default = pure;
|
||||||
|
|
||||||
@ -81,7 +82,8 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
test = mkShell {
|
test = mkShell {
|
||||||
buildInputs = [
|
buildInputs =
|
||||||
|
[
|
||||||
benchmark
|
benchmark
|
||||||
launcher
|
launcher
|
||||||
router
|
router
|
||||||
|
Loading…
Reference in New Issue
Block a user