lint
This commit is contained in:
parent
ee53cf87db
commit
5112761af5
7 changed files with 14 additions and 11 deletions
|
@ -1,5 +1,5 @@
|
|||
from ... import cmd
|
||||
from ... import ps
|
||||
import cmd
|
||||
import ps
|
||||
|
||||
cmd.need('debootstrap')
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from ... import cmd
|
||||
from ... import ps
|
||||
import cmd
|
||||
import ps
|
||||
|
||||
cmd.need('mksquashfs')
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ import os
|
|||
import shutil
|
||||
import subprocess
|
||||
|
||||
from .. import ps
|
||||
import ps
|
||||
|
||||
CHARSET = 'UTF-8'
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
from .. import ps
|
||||
import cmd
|
||||
import ps
|
||||
|
||||
cmd.need('grub-mkimage')
|
||||
|
||||
COMPRESSION = 'xz'
|
||||
ENV_BYTES = 1024
|
||||
|
|
|
@ -10,4 +10,4 @@ class Project:
|
|||
def from_root_file(file_path: str):
|
||||
project_file = os.path.realpath(file_path)
|
||||
project_root = os.path.dirname(project_file)
|
||||
return Project(real_file)
|
||||
return Project(project_root)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import subprocess
|
||||
|
||||
from .. import txt
|
||||
import txt
|
||||
|
||||
|
||||
def get_tuples_args(tuples) -> list[str]:
|
||||
|
|
Loading…
Reference in a new issue