Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check cyclomatic complexity #482

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

bdrung
Copy link
Collaborator

@bdrung bdrung commented Mar 21, 2025

To prevent introducing too complex functions, add TODOs for functions/methods that should be split and check cyclomatic complexity with a slightly relaxed maximum of 11 instead of 10.

bdrung added 2 commits March 21, 2025 12:14
Ignore pylint's `too-complex` complain for functions/methods that
already have a TODO entry to split them into smaller functions/methods.
To prevent introducing too complex functions, add `TODO`s for
functions/methods that should be split and check cyclomatic complexity
with a slightly relaxed maximum of 11 instead of 10.
Copy link

codecov bot commented Mar 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.92%. Comparing base (3164b24) to head (1757847).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #482   +/-   ##
=======================================
  Coverage   83.92%   83.92%           
=======================================
  Files         101      101           
  Lines       20455    20455           
  Branches     3215     3215           
=======================================
  Hits        17167    17167           
  Misses       2839     2839           
  Partials      449      449           

☔ View full report in Codecov by Sentry.
📢 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.

@bdrung bdrung requested a review from schopin-pro March 21, 2025 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant