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/Ide/repl.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Biz/Ide') diff --git a/Biz/Ide/repl.sh b/Biz/Ide/repl.sh index 78fe1eb..8b28dcd 100755 --- a/Biz/Ide/repl.sh +++ b/Biz/Ide/repl.sh @@ -33,16 +33,16 @@ fi packageSet=$(jq --raw-output '.[].packageSet' <<< "$json") module=$(jq --raw-output '.[].mainModule' <<< "$json") BILD="(import ${CODEROOT:?}/Biz/Bild.nix {})" - declare -a flags=(--packages "$BILD.pkgs.pkg-config") + declare -a flags=(--packages "$BILD.bild.pkgs.pkg-config") for lib in "${sysdeps[@]}"; do - flags+=(--packages "$BILD.pkgs.${lib}") + flags+=(--packages "$BILD.bild.pkgs.${lib}") done for lib in "${rundeps[@]}"; do - flags+=(--packages "$BILD.pkgs.${lib}") + flags+=(--packages "$BILD.bild.pkgs.${lib}") done case $exts in C) - flags+=(--packages "$BILD.pkgs.gcc") + flags+=(--packages "$BILD.bild.pkgs.gcc") command="bash" ;; Hs) -- cgit v1.2.3