Skip to content

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

@tisnik

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions