summaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorScott <[email protected]>2022-01-26 21:35:20 -0800
committerScott <[email protected]>2022-01-26 21:35:20 -0800
commite6f32fdd9b373dfcd100c7accb41f57d83c2f0a1 (patch)
treeeea4985bc43238fbd070c783441f08988f581973 /config.py
parent36fea7f15ed17150691b5b3ead75450e575229ef (diff)
Ahem. Still running black?
Diffstat (limited to 'config.py')
-rw-r--r--config.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/config.py b/config.py
index a608cf5..0edb169 100644
--- a/config.py
+++ b/config.py
@@ -239,9 +239,7 @@ def parse(entry_module: Optional[str]) -> Dict[str, Any]:
if loadfile is not None:
if saw_other_args:
- msg = (
- f'Augmenting commandline arguments with those from {loadfile}.'
- )
+ msg = f'Augmenting commandline arguments with those from {loadfile}.'
print(msg, file=sys.stderr)
saved_messages.append(msg)
if not os.path.exists(loadfile):
@@ -252,9 +250,7 @@ def parse(entry_module: Optional[str]) -> Dict[str, Any]:
sys.exit(-1)
with open(loadfile, 'r') as rf:
newargs = rf.readlines()
- newargs = [
- arg.strip('\n') for arg in newargs if 'config_savefile' not in arg
- ]
+ newargs = [arg.strip('\n') for arg in newargs if 'config_savefile' not in arg]
sys.argv += newargs
# Parse (possibly augmented, possibly completely overwritten)