fix import order

This commit is contained in:
Robert Kaussow 2019-12-02 09:57:38 +01:00
parent 09055c7f73
commit c03e8b860f
2 changed files with 7 additions and 6 deletions

View File

@ -5,7 +5,6 @@ import argparse
import logging import logging
import os import os
import sys import sys
from collections import defaultdict from collections import defaultdict
from urllib.parse import urlparse from urllib.parse import urlparse
@ -13,7 +12,8 @@ import git
from gitbatch import __version__ from gitbatch import __version__
from gitbatch.Logging import SingleLog from gitbatch.Logging import SingleLog
from gitbatch.Utils import normalize_path, to_bool from gitbatch.Utils import normalize_path
from gitbatch.Utils import to_bool
class GitBatch: class GitBatch:

View File

@ -1,16 +1,17 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
"""Global utility methods and classes.""" """Global utility methods and classes."""
import os
import logging import logging
import gitbatch.Utils import os
import sys import sys
from gitbatch.Utils import Singleton, to_bool
import colorama import colorama
from pythonjsonlogger import jsonlogger from pythonjsonlogger import jsonlogger
import gitbatch.Utils
from gitbatch.Utils import Singleton
from gitbatch.Utils import to_bool
CONSOLE_FORMAT = "{}[%(levelname)s]{} %(message)s" CONSOLE_FORMAT = "{}[%(levelname)s]{} %(message)s"
JSON_FORMAT = "(asctime) (levelname) (message)" JSON_FORMAT = "(asctime) (levelname) (message)"