From bc6a91128d838adebe66163eaa6a09b81ffcdfa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Sun, 11 May 2025 20:29:00 +0200 Subject: [PATCH] ruff: Don't default to 79 chars Not what we want for other projects. Could put a pyproject.toml here to enforce it, but then it removes all the defaults set in user configuration, so uuuuuh --- hm/dev/python.nix | 1 - os/remote-builds/default.nix | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/hm/dev/python.nix b/hm/dev/python.nix index 5ddf404..1e373ee 100644 --- a/hm/dev/python.nix +++ b/hm/dev/python.nix @@ -23,7 +23,6 @@ enable = true; settings = { target-version = "py311"; # Matches Debian 12 - line-length = 79; # writePython3 enforces PEP-8 lint = { select = [ "ALL" ]; ignore = [ diff --git a/os/remote-builds/default.nix b/os/remote-builds/default.nix index fd705e8..c18a429 100644 --- a/os/remote-builds/default.nix +++ b/os/remote-builds/default.nix @@ -47,6 +47,7 @@ in # - Thought you couldn't set SSH config # You might be able to set SSH config with porgrams.ssh, although I only tried creating a /root/.ssh/config file # (which does not work, unless logged in as root. host keys from root are used regardless of the user, though) + # 25.11 (assuming Lix 2.93+ is stable there): might want to add Control* options as no longer built in Lix nix = { buildMachines = builtins.map ( vivariumBuilder: