nixos/image/amend-repart-definitions: appease ruff (#548748)

This commit is contained in:
WilliButz
2026-08-03 10:36:31 +00:00
committed by GitHub
2 changed files with 3 additions and 4 deletions

View File

@@ -13,8 +13,8 @@ files using the same mechanism.
"""
import json
import sys
import shutil
import sys
from pathlib import Path

View File

@@ -86,7 +86,6 @@ let
depsBuildBuild = [ ruff ];
nativeBuildInputs = [
python3
black
mypy
];
}
@@ -94,8 +93,8 @@ let
install ${./amend-repart-definitions.py} $out
patchShebangs --build $out
black --check --diff $out
ruff check --line-length 88 $out
ruff format --check $out
ruff check $out
mypy --strict $out
'';