From 111bee7ddf0bdbda3eb7aad819072891612305b0 Mon Sep 17 00:00:00 2001 From: Asa Paparo Date: Sat, 1 Aug 2026 18:28:25 -0500 Subject: [PATCH] nixos/image/repart: fix python formatting PR #545026 updated ruff to 0.16.0, which caused the `config.system.build.image` output to fail due to a linting error in `amend-repart-definitions.py`. This commit fixes the formatting so that `nixosTests.appliance-repart-image` again passes. --- nixos/modules/image/amend-repart-definitions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/image/amend-repart-definitions.py b/nixos/modules/image/amend-repart-definitions.py index 939340266ab7..be8a207726fd 100644 --- a/nixos/modules/image/amend-repart-definitions.py +++ b/nixos/modules/image/amend-repart-definitions.py @@ -13,8 +13,8 @@ files using the same mechanism. """ import json -import sys import shutil +import sys from pathlib import Path