Fix import formatting

Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
This commit is contained in:
Povilas Kanapickas 2024-03-08 23:46:19 +02:00
parent 16a90e2bce
commit b0da6f82d3
11 changed files with 42 additions and 35 deletions

View File

@ -1,7 +1,7 @@
# pylint: disable=import-error
# pylint: disable=unused-import
import os
import asyncio # noqa: F401
import os
import aioredis
from aiohttp import web

View File

@ -7,21 +7,20 @@
# https://docs.docker.com/compose/django/
# https://docs.docker.com/compose/wordpress/
# TODO: podman pod logs --color -n -f pod_testlogs
import sys
import os
import getpass
import argparse
import itertools
import subprocess
import re
import hashlib
import random
import json
import glob
import asyncio.subprocess
import signal
import getpass
import glob
import hashlib
import itertools
import json
import os
import random
import re
import shlex
import signal
import subprocess
import sys
from asyncio import Task
try:

View File

@ -1,12 +1,14 @@
# SPDX-License-Identifier: GPL-2.0
import copy
import os
import argparse
import yaml
import os
import unittest
import yaml
from parameterized import parameterized
from podman_compose import normalize_service, PodmanCompose
from podman_compose import PodmanCompose
from podman_compose import normalize_service
class TestMergeBuild(unittest.TestCase):

View File

@ -1,12 +1,15 @@
# SPDX-License-Identifier: GPL-2.0
import argparse
import copy
import os
import argparse
import yaml
import unittest
import yaml
from parameterized import parameterized
from podman_compose import normalize_service, PodmanCompose
from podman_compose import PodmanCompose
from podman_compose import normalize_service
test_keys = ["command", "entrypoint"]

View File

@ -2,16 +2,15 @@
# pylint: disable=protected-access
import argparse
import copy
import os
import yaml
import unittest
import yaml
from parameterized import parameterized
from podman_compose import (
normalize_final,
normalize_service_final,
PodmanCompose,
)
from podman_compose import PodmanCompose
from podman_compose import normalize_final
from podman_compose import normalize_service_final
cwd = os.path.abspath(".")

View File

@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
import os
from setuptools import setup
try:

View File

@ -1,8 +1,9 @@
# SPDX-License-Identifier: GPL-2.0
from pathlib import Path
import os
import unittest
from pathlib import Path
from .test_utils import RunSubprocessMixin

View File

@ -8,11 +8,13 @@ Tests the podman-compose config command which is used to return defined compose
# pylint: disable=redefined-outer-name
import os
import unittest
from parameterized import parameterized
from .test_podman_compose import podman_compose_path
from .test_podman_compose import test_path
from .test_utils import RunSubprocessMixin
import unittest
from parameterized import parameterized
def profile_compose_file():

View File

@ -1,8 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
from pathlib import Path
import subprocess
import unittest
from pathlib import Path
from .test_utils import RunSubprocessMixin

View File

@ -8,7 +8,6 @@ Tests the podman compose up and down commands used to create and remove services
# pylint: disable=redefined-outer-name
import os
import time
import unittest
from .test_podman_compose import podman_compose_path

View File

@ -8,11 +8,13 @@ Tests the podman compose up and down commands used to create and remove services
# pylint: disable=redefined-outer-name
import os
import unittest
from parameterized import parameterized
from .test_podman_compose import podman_compose_path
from .test_podman_compose import test_path
from .test_utils import RunSubprocessMixin
from parameterized import parameterized
import unittest
def profile_compose_file():