Add complexipy - #326
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces the complexipy complexity checker as an additional (optional) linter for the revrt Python package, wiring it into both local dev dependencies (Pixi / optional deps) and CI.
Changes:
- Added
complexipyto dev dependencies (project optional deps and Pixi PyPI deps). - Added Complexipy configuration (
[tool.complexipy]) topyproject.toml. - Updated the Python CI lint job to include a Complexipy step and split Ruff lint vs format steps.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
pyproject.toml |
Adds complexipy dev dependency entries and configures Complexipy settings. |
.github/workflows/ci-python.yml |
Updates lint workflow steps to run Ruff check/format separately and adds Complexipy complexity checking. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #326 +/- ##
==========================================
+ Coverage 95.09% 95.13% +0.04%
==========================================
Files 29 29
Lines 3810 3845 +35
Branches 492 488 -4
==========================================
+ Hits 3623 3658 +35
Misses 108 108
Partials 79 79
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Add complexipy to see if wee like the new linter or not. Can remove later if we find that it's frustrating to deal with.