Skip to content

Commit c367349

Browse files
[pre-commit.ci] auto fixes from pre-commit hooks
1 parent e36726e commit c367349

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/diffpy/utils/tools.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,9 @@ def _sorted_merge(*dicts):
7777

7878
def _create_global_config(args):
7979
username = input(
80-
f"Please enter the name you would want future work to be credited to "
81-
f"[{args.get('username', '')}]: "
80+
f"Please enter the name you would want future work to be credited to " f"[{args.get('username', '')}]: "
8281
).strip() or args.get("username", "")
83-
email = input(
84-
f"Please enter the your email "
85-
f"[{args.get('email', '')}]: "
86-
).strip() or args.get("email", "")
82+
email = input(f"Please enter the your email " f"[{args.get('email', '')}]: ").strip() or args.get("email", "")
8783
return_bool = False if username is None or email is None else True
8884
with open(Path().home() / "diffpyconfig.json", "w") as f:
8985
f.write(json.dumps({"username": stringify(username), "email": stringify(email)}))

0 commit comments

Comments
 (0)