Skip to content

Clean up unreachable code #28

@oesteban

Description

@oesteban

Hi team,

I'm going through your project. A minor thing that would require some cleanup is at the end of the metrics.py file:

# LAB(replace solution)
# This is a placeholder, replace it to write your solution.
raise NotImplementedError("Code up this function")
# LAB(end solution)

Because of the return, that code will not be executed. Therefore, it is better to just remove it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions