Skip to content

Fix minor code quality issues#28

Merged
conorluddy merged 1 commit intomainfrom
fix/code-quality-cleanup
Feb 24, 2026
Merged

Fix minor code quality issues#28
conorluddy merged 1 commit intomainfrom
fix/code-quality-cleanup

Conversation

@conorluddy
Copy link
Owner

Summary

  • Remove unused from typing import Optional import in simctl_boot.py (code uses str | None syntax)
  • Replace deprecated datetime.utcnow() with datetime.now(UTC) in xcode/config.py
  • Add public list_elements() method on Navigator class to avoid calling private _flatten_tree() from main()

Test plan

  • ruff check passes on all three modified files
  • black --check passes on all three modified files
  • --help works on simctl_boot.py and navigator.py

🤖 Generated with Claude Code

- Remove unused `from typing import Optional` in simctl_boot.py
- Replace deprecated `datetime.utcnow()` with `datetime.now(UTC)` in config.py
- Add public `list_elements()` method on Navigator to avoid calling
  private `_flatten_tree()` from main()

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@conorluddy conorluddy merged commit af2a3da into main Feb 24, 2026
1 check passed
@conorluddy conorluddy deleted the fix/code-quality-cleanup branch February 24, 2026 22:50
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