[PR #1119/6d0d5adf backport][stable-3] tox: add complexity-report target #1127
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.
This is a backport of PR #1119 as merged into main (6d0d5ad).
Depends-On: ansible/ansible-zuul-jobs#1656
The target generates a MCCabe complexity report in HTML that is exposed in the CI output.
Example: https://7409a00e1108ff27cfe6-3e5213eac2b0662b5ee6d363d9d4dcd9.ssl.cf1.rackcdn.com/1119/b90d2618ab09f30ad3540afd5bb3890af51db32c/check/cloud-tox-py3/2f3e4dc/docs/complexity/index.html