From 2c09c7f73e2fc770f42b5dd2588aa9634b4e7c6e Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 10 Apr 2024 19:56:46 -0400 Subject: Switch from black to ruff format Ruff is faster and if it supports everything that black supports than why not? I did have to pull in a more recent version from unstable, but that's easy to do now. And I decided to just go ahead and configure ruff by turning on almost all checks, which meant I had to fix a whole bunch of things, but I did that and everything is okay now. --- Biz/Bild.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Biz/Bild.nix') diff --git a/Biz/Bild.nix b/Biz/Bild.nix index 24ce4bf..7a07f36 100644 --- a/Biz/Bild.nix +++ b/Biz/Bild.nix @@ -64,7 +64,8 @@ in nixpkgs // { # expose some packages for inclusion in os/image builds pkgs = with nixpkgs.pkgs; { - inherit black deadnix git hlint indent ormolu ruff shellcheck nixfmt; + inherit deadnix git hlint indent ormolu shellcheck nixfmt mypy pkg-config; + ruff = unstable.ruff; }; # a standard nix build for bild, for bootstrapping. this should be the only @@ -146,7 +147,6 @@ in nixpkgs // { bat bc bild - black ctags fd figlet -- cgit v1.2.3