Conversation
MatDagommer
commented
Jan 5, 2026
- Corrected templates/.gitignore
- Allow calling pyml with no arguments in terminal (returns help)
- Set no_args_is_help=True in Typer app initialization to show help message when CLI is run without arguments.
…nd move Dockerfile to .devcontainer directory - Replaced custom .gitignore with a comprehensive Python .gitignore template for better coverage of common files to ignore. - Moved Dockerfile into the .devcontainer directory to align with devcontainer standards.
|
Code Review: CLI improvementsSummaryThis PR makes two main changes:
✅ Positive FindingsCode Quality
User Experience Improvement
🔍 Issues & ConcernsCritical: .gitignore File CorruptionThe diff shows that the original Questions:
Recommendation: Verify that no bump2version configuration was lost. If it's needed, it should go in Missing Test CoverageWhile Recommendation: Add a test case: def test_no_args_shows_help():
"""Test that running pyml with no arguments shows help."""
result = runner.invoke(app, [])
assert result.exit_code == 0
assert "Usage:" in result.stdout or "Commands:" in result.stdoutDockerfile MoveThe diff shows
🔒 Security ConsiderationsPositive:
Note: The custom additions at the end include ⚡ Performance ConsiderationsNo performance concerns. The 📝 Best Practices & Suggestions
📊 Test Coverage AssessmentCurrent coverage: Partial - only the
✅ Approval RecommendationApprove with minor suggestions - The core changes are solid, but please:
📋 Checklist for Merge
Great work on improving the CLI UX! The |