Skip to content

Avoid relative imports by making subdirectory "errors" a module #82

Description

@tisnik

https://github.com/calebdehaan/codeDuplicationParser/blob/9abbe0cc7be34234720762588f3fdf38264330f7/code_duplication/src/preprocessing/repo_cloner.py#L7

If you add an __init__.py into the errors subdirectory, it will became a proper module. Hence the relative imports (that are IMHO ugly) won't be necesarry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions