Skip to content

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

Description

@aliceinwire

Function build_kernel 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_5d277a45d24643000100001d

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