Skip to content

Fix "method_complexity" issue in checkdigit/luhn.pyΒ #11

@harens

Description

@harens

Function calculate has a Cognitive Complexity of 12 (exceeds 5 allowed). Consider refactoring.

https://codeclimate.com/github/harens/checkdigit/checkdigit/luhn.py#issue_5fc23e4529cddf0001000020

Metadata

Metadata

Assignees

No one assigned

    Labels

    codacyIssues picked up by codacy

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions