ruff: run check --fix (MR 2252)

Get rid of unused imports and such

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
Caleb Connolly 2024-06-13 05:21:00 +02:00 committed by Oliver Smith
parent 139c205424
commit f2ca9c618e
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
38 changed files with 15 additions and 59 deletions

View file

@ -5,8 +5,8 @@ from pathlib import Path
import subprocess
from pmb.core.arch import Arch
import pmb.helpers.run_core
from typing import Any, Dict, List, Optional, Sequence
from pmb.types import Env, PathString, PmbArgs
from typing import Optional, Sequence
from pmb.types import Env, PathString
def user(cmd: Sequence[PathString], working_dir: Optional[Path] = None, output: str = "log", output_return: bool = False,