Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 14, 2024
1 parent fb07446 commit 7dfa3af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/app_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def get_mongodb_credential(credential_type: str,
Will first check the environment variable `MONGODB_{credential_type}`,
and if that is not set, will check `MONGODB_INITDB_ROOT_{credential_type}`.
"""
assert credential_type in {'username', 'password'},\
assert credential_type in {'username', 'password'}, \
'credential_type must be either "username" or "password"'

credential_type = credential_type.upper()
Expand Down
2 changes: 1 addition & 1 deletion src/gator/app/cli/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def _sync_records_in_bucket(bucket_id: str, force: bool, verbose: bool) \
"""
typer.echo()
status_freq = dict(created=0, updated=0, skipped=0)
with logging_redirect_tqdm(),\
with logging_redirect_tqdm(), \
tqdm(desc='Syncing records', ncols=80) as pbar:

for full_id, data in record_storage.records_iter(bucket_id):
Expand Down

0 comments on commit 7dfa3af

Please sign in to comment.