Skip to content

Add complexipy - #326

Merged
ppinchuk merged 15 commits into
mainfrom
pp/complexipy
Aug 18, 2026
Merged

Add complexipy#326
ppinchuk merged 15 commits into
mainfrom
pp/complexipy

Conversation

@ppinchuk

Copy link
Copy Markdown
Collaborator

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.

@ppinchuk ppinchuk added this to the Long-term plans milestone Aug 18, 2026
@ppinchuk ppinchuk self-assigned this Aug 18, 2026
@ppinchuk ppinchuk added the enhancement Update to logic or general code improvements label Aug 18, 2026
@ppinchuk
ppinchuk requested a review from castelao as a code owner August 18, 2026 19:01
@ppinchuk ppinchuk added chore Maintenance work that does not impact the end user p-medium Priority: medium github_actions Pull requests that update GitHub Actions code labels Aug 18, 2026
Copilot AI lite review requested due to automatic review settings August 18, 2026 19:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 complexipy to dev dependencies (project optional deps and Pixi PyPI deps).
  • Added Complexipy configuration ([tool.complexipy]) to pyproject.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.

Comment thread .github/workflows/ci-python.yml Outdated
Comment thread pyproject.toml
@codecov-commenter

codecov-commenter commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.13%. Comparing base (93b747d) to head (2ddbbeb).

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              
Flag Coverage Δ
unittests 95.13% <100.00%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ppinchuk
ppinchuk merged commit d5f5075 into main Aug 18, 2026
27 checks passed
@ppinchuk
ppinchuk deleted the pp/complexipy branch August 18, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Maintenance work that does not impact the end user enhancement Update to logic or general code improvements github_actions Pull requests that update GitHub Actions code p-medium Priority: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants