Skip to content

Fix "method_complexity" issue in src/elivepatch_server/resources/livepatch.py #46

Description

@aliceinwire

Function _command has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.

https://codeclimate.com/github/gentoo/elivepatch-server/src/elivepatch_server/resources/livepatch.py#issue_5d277a45d24643000100001e

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions