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

@ -1,15 +1,12 @@
# Copyright 2023 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
import os
import glob
from pmb.core.pkgrepo import pkgrepo_iglob
from pmb.helpers import logging
import pmb.config
import pmb.chroot.apk
from pmb.core import Chroot
from pmb.core.context import get_context
from pmb.types import PmbArgs
def list_chroot(suffix: Chroot, remove_prefix=True):