Skip to content

add linter check for implementation #93

Description

@stxpatryk
# Comment added at creation time to indicate empty file.

if __name__ == "__main__":
    print(say_deepnext())


def say_deepnext() -> str:
    """Return the DeepNext hello message."""
    return "DeepNext was here"

this kind of errors need to be detected!

example approach:

(deep-next-py3.11) patryk@D089KX3:~/PROJECTS/deep-next-open-source$ pre-commit run flake8 -a
flake8...................................................................Failed
- hook id: flake8
- exit code: 1

delete-me.py:4:11: F821 undefined name 'say_deepnext'

  • Add evaluator on GitLab to make sure it doesn't exist anymore

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions