Skip to content

Commit a228c7b

Browse files
committed
chg: [code] black
1 parent 3a487c0 commit a228c7b

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

bin/import.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@
1313
from dynaconf import Dynaconf
1414

1515
# Configuration
16-
settings = Dynaconf(
17-
settings_files=['../config/settings.yaml']
18-
)
16+
settings = Dynaconf(settings_files=['../config/settings.yaml'])
1917
cpe_path = settings.cpe.path
20-
cpe_source = (settings.cpe.source)
18+
cpe_source = settings.cpe.source
2119
rdb = redis.Redis(host=settings.redis.host, port=settings.redis.port, db=8)
2220

21+
2322
class CPEHandler(xml.sax.ContentHandler):
2423
def __init__(self):
2524
self.cpe = ""

bin/server.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
from dynaconf import Dynaconf
1010

1111
# Configuration
12-
settings = Dynaconf(
13-
settings_files=['../config/settings.yaml']
14-
)
12+
settings = Dynaconf(settings_files=['../config/settings.yaml'])
1513
port = settings.server.port
1614

1715
runPath = os.path.dirname(os.path.realpath(__file__))

0 commit comments

Comments
 (0)