Skip to content

Commit 400afa3

Browse files
FloLeyclaude
andcommitted
Fix f-string linting errors with ruff
- Remove unnecessary f-string syntax from logger.warning() calls - Fix F541 violations in config.py lines 90 and 92 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4a58a1c commit 400afa3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/dumpcode/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ def load_or_create_config(
8787

8888
if not validate_config(loaded_config):
8989
if logger:
90-
logger.warning(f"Config file has invalid structure, using defaults")
90+
logger.warning("Config file has invalid structure, using defaults")
9191
else:
92-
print(f"[Warning] Config file has invalid structure, using defaults")
92+
print("[Warning] Config file has invalid structure, using defaults")
9393
else:
9494
config.update(loaded_config)
9595
if "profiles" in loaded_config:

0 commit comments

Comments
 (0)