Skip to content

Added an else statement to parsing the module path and subdirs#513

Open
satishskamath wants to merge 1 commit intoEESSI:mainfrom
satishskamath:test_suite_else_apidocs
Open

Added an else statement to parsing the module path and subdirs#513
satishskamath wants to merge 1 commit intoEESSI:mainfrom
satishskamath:test_suite_else_apidocs

Conversation

@satishskamath
Copy link
Collaborator

No description provided.

elif parts[-1] == "__main__":
continue
else:
print(f"Error: No __init__ or __main__ found in {module_path} this directory, if this should be a "
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this actually raise an error? Now the code will just continue - and then run into the later (unclear) error we had before, right?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants