mirror of
https://github.com/containers/podman-compose.git
synced 2025-04-09 17:41:03 +02:00
Fix import formatting
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
This commit is contained in:
parent
16a90e2bce
commit
b0da6f82d3
@ -1,7 +1,7 @@
|
|||||||
# pylint: disable=import-error
|
# pylint: disable=import-error
|
||||||
# pylint: disable=unused-import
|
# pylint: disable=unused-import
|
||||||
import os
|
|
||||||
import asyncio # noqa: F401
|
import asyncio # noqa: F401
|
||||||
|
import os
|
||||||
|
|
||||||
import aioredis
|
import aioredis
|
||||||
from aiohttp import web
|
from aiohttp import web
|
||||||
|
@ -7,21 +7,20 @@
|
|||||||
# https://docs.docker.com/compose/django/
|
# https://docs.docker.com/compose/django/
|
||||||
# https://docs.docker.com/compose/wordpress/
|
# https://docs.docker.com/compose/wordpress/
|
||||||
# TODO: podman pod logs --color -n -f pod_testlogs
|
# TODO: podman pod logs --color -n -f pod_testlogs
|
||||||
import sys
|
|
||||||
import os
|
|
||||||
import getpass
|
|
||||||
import argparse
|
import argparse
|
||||||
import itertools
|
|
||||||
import subprocess
|
|
||||||
import re
|
|
||||||
import hashlib
|
|
||||||
import random
|
|
||||||
import json
|
|
||||||
import glob
|
|
||||||
import asyncio.subprocess
|
import asyncio.subprocess
|
||||||
import signal
|
import getpass
|
||||||
|
import glob
|
||||||
|
import hashlib
|
||||||
|
import itertools
|
||||||
|
import json
|
||||||
|
import os
|
||||||
|
import random
|
||||||
|
import re
|
||||||
import shlex
|
import shlex
|
||||||
|
import signal
|
||||||
|
import subprocess
|
||||||
|
import sys
|
||||||
from asyncio import Task
|
from asyncio import Task
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
|
||||||
import copy
|
|
||||||
import os
|
|
||||||
import argparse
|
import argparse
|
||||||
import yaml
|
import os
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
|
import yaml
|
||||||
from parameterized import parameterized
|
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):
|
class TestMergeBuild(unittest.TestCase):
|
||||||
|
@ -1,12 +1,15 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
|
||||||
|
import argparse
|
||||||
import copy
|
import copy
|
||||||
import os
|
import os
|
||||||
import argparse
|
|
||||||
import yaml
|
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
|
import yaml
|
||||||
from parameterized import parameterized
|
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"]
|
test_keys = ["command", "entrypoint"]
|
||||||
|
|
||||||
|
@ -2,16 +2,15 @@
|
|||||||
# pylint: disable=protected-access
|
# pylint: disable=protected-access
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import copy
|
|
||||||
import os
|
import os
|
||||||
import yaml
|
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
|
import yaml
|
||||||
from parameterized import parameterized
|
from parameterized import parameterized
|
||||||
from podman_compose import (
|
|
||||||
normalize_final,
|
from podman_compose import PodmanCompose
|
||||||
normalize_service_final,
|
from podman_compose import normalize_final
|
||||||
PodmanCompose,
|
from podman_compose import normalize_service_final
|
||||||
)
|
|
||||||
|
|
||||||
cwd = os.path.abspath(".")
|
cwd = os.path.abspath(".")
|
||||||
|
|
||||||
|
1
setup.py
1
setup.py
@ -1,6 +1,7 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
|
||||||
from pathlib import Path
|
|
||||||
import os
|
import os
|
||||||
import unittest
|
import unittest
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
from .test_utils import RunSubprocessMixin
|
from .test_utils import RunSubprocessMixin
|
||||||
|
|
||||||
|
|
||||||
|
@ -8,11 +8,13 @@ Tests the podman-compose config command which is used to return defined compose
|
|||||||
|
|
||||||
# pylint: disable=redefined-outer-name
|
# pylint: disable=redefined-outer-name
|
||||||
import os
|
import os
|
||||||
|
import unittest
|
||||||
|
|
||||||
|
from parameterized import parameterized
|
||||||
|
|
||||||
from .test_podman_compose import podman_compose_path
|
from .test_podman_compose import podman_compose_path
|
||||||
from .test_podman_compose import test_path
|
from .test_podman_compose import test_path
|
||||||
from .test_utils import RunSubprocessMixin
|
from .test_utils import RunSubprocessMixin
|
||||||
import unittest
|
|
||||||
from parameterized import parameterized
|
|
||||||
|
|
||||||
|
|
||||||
def profile_compose_file():
|
def profile_compose_file():
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
|
||||||
from pathlib import Path
|
|
||||||
import subprocess
|
|
||||||
import unittest
|
import unittest
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
from .test_utils import RunSubprocessMixin
|
from .test_utils import RunSubprocessMixin
|
||||||
|
|
||||||
|
@ -8,7 +8,6 @@ Tests the podman compose up and down commands used to create and remove services
|
|||||||
|
|
||||||
# pylint: disable=redefined-outer-name
|
# pylint: disable=redefined-outer-name
|
||||||
import os
|
import os
|
||||||
import time
|
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
from .test_podman_compose import podman_compose_path
|
from .test_podman_compose import podman_compose_path
|
||||||
|
@ -8,11 +8,13 @@ Tests the podman compose up and down commands used to create and remove services
|
|||||||
|
|
||||||
# pylint: disable=redefined-outer-name
|
# pylint: disable=redefined-outer-name
|
||||||
import os
|
import os
|
||||||
|
import unittest
|
||||||
|
|
||||||
|
from parameterized import parameterized
|
||||||
|
|
||||||
from .test_podman_compose import podman_compose_path
|
from .test_podman_compose import podman_compose_path
|
||||||
from .test_podman_compose import test_path
|
from .test_podman_compose import test_path
|
||||||
from .test_utils import RunSubprocessMixin
|
from .test_utils import RunSubprocessMixin
|
||||||
from parameterized import parameterized
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
|
|
||||||
def profile_compose_file():
|
def profile_compose_file():
|
||||||
|
Loading…
Reference in New Issue
Block a user