From 22c4a033b41b116e19dc8f23ba01ce38b4604611 Mon Sep 17 00:00:00 2001 From: Alden Hilton Date: Tue, 14 Jan 2025 15:22:41 -0800 Subject: [PATCH] linter corrections --- scubagoggles/config.py | 2 +- scubagoggles/user_setup.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scubagoggles/config.py b/scubagoggles/config.py index 000ccb6f..17b20ca7 100644 --- a/scubagoggles/config.py +++ b/scubagoggles/config.py @@ -34,7 +34,7 @@ class UserConfig: _main = _defaults['scubagoggles'] - _defaults['scubagoggles']['credentials'] = (f'./credentials.json') + _defaults['scubagoggles']['credentials'] = './credentials.json' _default_config_file = Path('~/.scubagoggles/userdefaults.yaml').expanduser() diff --git a/scubagoggles/user_setup.py b/scubagoggles/user_setup.py index 8c251af5..15389422 100644 --- a/scubagoggles/user_setup.py +++ b/scubagoggles/user_setup.py @@ -7,7 +7,6 @@ import argparse import logging -import os from collections import namedtuple from pathlib import Path @@ -241,7 +240,7 @@ def credentials_file(arguments: argparse.Namespace): if check and not credentials.is_file(): raise FileNotFoundError(f'? {credentials} - file not found') - log.debug(f' specified file: %s', credentials) + log.debug(' specified file: %s', credentials) config.credentials_file = credentials.resolve()