Ci pipeline enhancements#4
Merged
Merged
Conversation
- Add test and lint jobs to ci.yml that run before wheel building - Include Python 3.11 & 3.12 testing matrix - Add Rust and Python test execution with proper uv/maturin setup - Add code quality checks: cargo fmt, clippy, ruff format, ruff check - Add security.yml workflow with rust audit, python safety, and CodeQL - Ensure all quality gates pass before building distribution wheels
- Configure ruff for linting and formatting with appropriate rules - Add mypy configuration for type checking - Configure pytest with proper test discovery and options - Set reasonable exclusions for star imports needed by Rust extension - Configure line length, quote style, and import sorting
- Remove trailing whitespace from src/lib.rs - Ensure cargo fmt --check will pass in CI
- Format all Python files with ruff format - Ensure consistent code style across the project - Fix import ordering and spacing
- Apply ruff formatting to all test files - Fix import ordering and code style - Add test_cli.py and test_enhanced_error_handling.py with comprehensive test coverage - Maintain test functionality while improving readability
|
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
- Remove unused PySyntaxError import from src/lib.rs - Ensures cargo clippy --all-targets --all-features -- -D warnings passes
- Use inline format arguments for better readability and performance - Addresses uninlined_format_args clippy warnings - Ensures cargo clippy passes with -D warnings
- Update all format! statements to use inline arguments - Extract complex type name calculation for readability - Ensures cargo clippy --all-targets --all-features -- -D warnings passes completely
- Fix error handling chain formatting - Ensures cargo fmt --check passes in CI
- Fix format string in src/context.rs PyValueError - Fix debug! macro format strings in src/lib.rs - Ensures all clippy warnings are resolved for CI
- Fix debug! statement for processed expression on line 462 - Fix debug! statement for compiled program on line 475 - Should resolve all clippy uninlined_format_args warnings in Rust 1.88.0
hardbyte
added a commit
that referenced
this pull request
Aug 1, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.