Skip to content

refactor: move wingman to src/ with linting fixes#9

Closed
Cesar Garcia (Chesars) wants to merge 2 commits intodedalus-labs:mainfrom
Chesars:refactor/directory-structure-with-linting
Closed

refactor: move wingman to src/ with linting fixes#9
Cesar Garcia (Chesars) wants to merge 2 commits intodedalus-labs:mainfrom
Chesars:refactor/directory-structure-with-linting

Conversation

@Chesars
Copy link
Copy Markdown

Description

Fixed linting errors in src/wingman/ directory from PR #6.

Details

  • Organized and cleaned up imports (removed unused imports)
  • Removed unnecessary f-string prefixes
  • Simplified code structure (combined nested ifs, replaced try-except-pass with contextlib.suppress)
  • Used more pythonic patterns (enumerate instead of manual counter, ternary operators)
  • Fixed ambiguous variable name (lline)

All changes are style-only and preserve existing behavior. No logic changes.

✅ uv run ruff check src/wingman/     # All checks passed!
✅ uv run ruff format --check src/wingman/  # 15 files already formatted

Type of Change

  • Refactoring (no functional changes)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • My changes generate no new warnings
  • I have tested the TUI locally

@Chesars
Copy link
Copy Markdown
Author

Closing as this has already been applied in main.

@Chesars Cesar Garcia (Chesars) deleted the refactor/directory-structure-with-linting branch March 4, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant