mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
nixos/image/amend-repart-definitions: appease ruff (#548748)
This commit is contained in:
@@ -13,8 +13,8 @@ files using the same mechanism.
|
||||
"""
|
||||
|
||||
import json
|
||||
import sys
|
||||
import shutil
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user