Fix import order, separation to appease flake8
Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
c5de49c6d8
commit
8be9cead78
10 changed files with 16 additions and 16 deletions
|
@ -1,7 +1,7 @@
|
||||||
import toddlers.plugins.debug
|
|
||||||
|
|
||||||
import fedora_messaging.api
|
import fedora_messaging.api
|
||||||
|
|
||||||
|
import toddlers.plugins.debug
|
||||||
|
|
||||||
|
|
||||||
class TestDebugToddler:
|
class TestDebugToddler:
|
||||||
def test_accepts_topic(self):
|
def test_accepts_topic(self):
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import logging
|
import logging
|
||||||
from unittest.mock import patch, MagicMock
|
from unittest.mock import MagicMock, patch
|
||||||
|
|
||||||
import toddlers.plugins.flag_ci_pr
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
import fedora_messaging.api
|
import fedora_messaging.api
|
||||||
|
import pytest
|
||||||
|
|
||||||
|
import toddlers.plugins.flag_ci_pr
|
||||||
|
|
||||||
|
|
||||||
class TestFlagCIPRToddler:
|
class TestFlagCIPRToddler:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import logging
|
import logging
|
||||||
from unittest.mock import patch, MagicMock, Mock
|
from unittest.mock import MagicMock, Mock, patch
|
||||||
|
|
||||||
import fedora_messaging.api
|
import fedora_messaging.api
|
||||||
import pytest
|
import pytest
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from unittest.mock import patch, Mock
|
from unittest.mock import Mock, patch
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import logging
|
import logging
|
||||||
from unittest.mock import patch, Mock
|
from unittest.mock import Mock, patch
|
||||||
|
|
||||||
import fedora_messaging.api
|
import fedora_messaging.api
|
||||||
import fedora_messaging.exceptions
|
import fedora_messaging.exceptions
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import logging
|
import logging
|
||||||
import xmlrpc.client
|
|
||||||
from unittest.mock import Mock, patch
|
from unittest.mock import Mock, patch
|
||||||
|
import xmlrpc.client
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,8 @@ import logging
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
import toml
|
|
||||||
from requests.packages.urllib3.util import retry
|
from requests.packages.urllib3.util import retry
|
||||||
|
import toml
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import tqdm
|
import tqdm
|
||||||
|
@ -22,8 +22,9 @@ except ImportError:
|
||||||
tqdm = None
|
tqdm = None
|
||||||
|
|
||||||
from toddlers.base import ToddlerBase
|
from toddlers.base import ToddlerBase
|
||||||
import toddlers.utils.fedora_account
|
|
||||||
import toddlers.utils.bugzilla_system
|
import toddlers.utils.bugzilla_system
|
||||||
|
import toddlers.utils.fedora_account
|
||||||
|
|
||||||
|
|
||||||
_log = logging.getLogger(__name__)
|
_log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
import fedora_messaging.exceptions
|
|
||||||
import fedora_messaging.config
|
import fedora_messaging.config
|
||||||
|
import fedora_messaging.exceptions
|
||||||
|
|
||||||
import toddlers.base
|
import toddlers.base
|
||||||
import toddlers.plugins
|
import toddlers.plugins
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import logging
|
import logging
|
||||||
import xmlrpc.client
|
|
||||||
|
|
||||||
from typing import Mapping
|
from typing import Mapping
|
||||||
|
import xmlrpc.client
|
||||||
|
|
||||||
from bugzilla import Bugzilla
|
from bugzilla import Bugzilla
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import smtplib
|
|
||||||
from email.message import EmailMessage
|
from email.message import EmailMessage
|
||||||
|
import smtplib
|
||||||
|
|
||||||
|
|
||||||
def notify_packager(mail_server, admin_email, username, email):
|
def notify_packager(mail_server, admin_email, username, email):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue