summaryrefslogtreecommitdiff
path: root/Biz/Bild.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2024-04-10 19:56:46 -0400
committerBen Sima <ben@bsima.me>2024-04-10 19:56:46 -0400
commit2c09c7f73e2fc770f42b5dd2588aa9634b4e7c6e (patch)
treea6c49dddb7b1735a0f8de2a9a5f4efb605f16f36 /Biz/Bild.nix
parent051973aba8953ebde51eb1436fb3994e7ae699dc (diff)
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.
Diffstat (limited to 'Biz/Bild.nix')
-rw-r--r--Biz/Bild.nix4
1 files changed, 2 insertions, 2 deletions
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