Chore/cleanup - #10
Conversation
- Added pyyaml as a dependency in pyproject.toml and uv.lock. - Updated brix version to 1.3.0 in uv.lock. - Introduced end-to-end tests for verifying git source installation of brix using both uv and pip package managers.
…w for testing - Removed pytest hook from pre-commit configuration. - Added a new GitHub Actions workflow to run unit, integration, and end-to-end tests across multiple Python versions.
|
/review |
…trix - Removed the Python version matrix setup from the test job in the GitHub Actions workflow. - Streamlined the workflow by eliminating unnecessary steps related to multiple Python versions.
Pull Request Review: Chore/cleanupSummaryThis PR includes several cleanup and improvement changes:
Positive Changes1. GitHub Actions Workflow
2. Pre-commit Hook Optimization
3. Critical Bug Fix (pyproject.toml + uv.lock)
4. E2E Test for Git Installation
Issues & Concerns1. Security Linter Exceptions (pyproject.toml:83) - MEDIUM SEVERITY Adding S603 and S607 blanket exceptions for all tests is too broad. These are subprocess security checks. Instead of disabling globally, either use inline suppressions or scope to e2e tests only. 2. Subprocess Security - LOW SEVERITY Add timeout parameter to all subprocess.run() calls to prevent hanging (e.g., 30-60 seconds). 3. Test Reliability - MEDIUM SEVERITY The get_latest_tag() function at line 23 will crash on non-semver tags. Add validation and error handling for malformed tags. 4. GitHub Actions - MINOR Consider adding dependency caching and coverage reporting for better performance and visibility. Summary & RecommendationsApprove with minor changes requested:
Overall Assessment: Solid cleanup PR that fixes a critical dependency issue (pyyaml) and improves CI/CD. Main concerns are overly broad security linter exceptions. Test Coverage: Good - new E2E tests validate the exact issue being fixed Mergeability: Recommend addressing the linter exception scope before merging |
No description provided.