Skip to content

Commit

Permalink
linter corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
adhilto committed Jan 14, 2025
1 parent 1c9b3bd commit 22c4a03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scubagoggles/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
3 changes: 1 addition & 2 deletions scubagoggles/user_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import argparse
import logging
import os

from collections import namedtuple
from pathlib import Path
Expand Down Expand Up @@ -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()

Expand Down

0 comments on commit 22c4a03

Please sign in to comment.