diff --git a/config/app_settings.py b/config/app_settings.py index 3b74a39..0fcd932 100644 --- a/config/app_settings.py +++ b/config/app_settings.py @@ -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() diff --git a/src/gator/app/cli/data.py b/src/gator/app/cli/data.py index 3a380e8..75ff99e 100644 --- a/src/gator/app/cli/data.py +++ b/src/gator/app/cli/data.py @@ -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):