Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helpful message when 'module not found' is a directory in working directory #60

Open
ariebovenberg opened this issue Feb 10, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@ariebovenberg
Copy link
Owner

It's already documented why:

slotscheck mymodule/

doesn't work if the current directory is not explicitly in sys.path.

However, this is a corner of Python unknown to many. To prevent unnecessary frustration, a helpful message can be printed linking to the docs

@ariebovenberg
Copy link
Owner Author

I've added a link to the module discovery docs in the 'module could not be found' message as of version 0.12.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant