ruff: run check --fix (MR 2252)

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
Caleb Connolly 2024-06-15 18:53:49 +02:00 committed by Oliver Smith
parent 5c652e0602
commit 4108b95d72
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
8 changed files with 2 additions and 9 deletions

View file

@ -6,7 +6,6 @@ from pathlib import Path
import pmb.chroot import pmb.chroot
import pmb.build import pmb.build
from pmb.types import PmbArgs
import pmb.helpers.run import pmb.helpers.run
import pmb.helpers.pmaports import pmb.helpers.pmaports
from pmb.core import Chroot from pmb.core import Chroot

View file

@ -1,8 +1,7 @@
# Copyright 2023 Oliver Smith # Copyright 2023 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
from pathlib import Path, PosixPath from pathlib import Path, PosixPath
from typing import Any, List, Optional from typing import List
import pmb.config
from pmb.helpers import logging from pmb.helpers import logging
import configparser import configparser
import os import os

View file

@ -10,7 +10,6 @@ import sys
import pmb.config import pmb.config
from pmb.meta import Cache from pmb.meta import Cache
from pmb.types import PmbArgs
import pmb.helpers.git import pmb.helpers.git
import pmb.helpers.pmaports import pmb.helpers.pmaports
import pmb.parse.version import pmb.parse.version

View file

@ -13,7 +13,6 @@ import pmb.config
import pmb.config.pmaports import pmb.config.pmaports
from pmb.core import Chroot from pmb.core import Chroot
from pmb.core.context import get_context from pmb.core.context import get_context
from pmb.core.pkgrepo import pkgrepo_default_path
from pmb.helpers import logging from pmb.helpers import logging

View file

@ -5,7 +5,6 @@ import os
from pathlib import Path from pathlib import Path
import time import time
from pmb.meta import Cache
from pmb.types import PmbArgs from pmb.types import PmbArgs
import pmb.helpers.run import pmb.helpers.run
import pmb.helpers.pmaports import pmb.helpers.pmaports

View file

@ -4,7 +4,7 @@ import logging
import os import os
from pathlib import Path from pathlib import Path
import sys import sys
from typing import Dict, TextIO from typing import TextIO
import pmb.config import pmb.config
logfd: TextIO logfd: TextIO

View file

@ -1,7 +1,6 @@
# Copyright 2023 Oliver Smith # Copyright 2023 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
from typing import Optional from typing import Optional
from pmb.core.config import Config
from pmb.helpers import logging from pmb.helpers import logging
import os import os
from pathlib import Path from pathlib import Path

View file

@ -1,5 +1,4 @@
from typing import List from typing import List
import pytest
from . import Cache, Wrapper from . import Cache, Wrapper