mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Problem: Flake8 complained that imports were not at the top of the file
Solution: Had to play around with the order of imports to avoid cyclic dependencies, but its working and style compliant now
This commit is contained in:
parent
507fe1e1a5
commit
ddce2d581b
@ -2,6 +2,9 @@ import copy
|
||||
import logging
|
||||
|
||||
from bigchaindb.log import DEFAULT_LOGGING_CONFIG as log_config
|
||||
from bigchaindb.lib import BigchainDB # noqa
|
||||
from bigchaindb.version import __version__ # noqa
|
||||
from bigchaindb.core import App
|
||||
|
||||
# from functools import reduce
|
||||
# PORT_NUMBER = reduce(lambda x, y: x * y, map(ord, 'BigchainDB')) % 2**16
|
||||
@ -84,6 +87,3 @@ config = {
|
||||
# the user wants to reconfigure the node. Check ``bigchaindb.config_utils``
|
||||
# for more info.
|
||||
_config = copy.deepcopy(config)
|
||||
from bigchaindb.lib import BigchainDB # noqa
|
||||
from bigchaindb.core import App
|
||||
from bigchaindb.version import __version__ # noqa
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user