Skip to content

pydeps should remove the hard requirement presence on __init__.py. #176

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

Closed
happyhebaby opened this issue Apr 5, 2023 · 2 comments
Closed

Comments

@happyhebaby
Copy link

Python 3.3+ supports Implicit Namespace Packages that allows it to create a package without an init.py file, and there are public repository utilizing this feature such as https://github.com/pytest-dev/pytest/tree/main/testing.
When I run the tool against the above sample test directory, it will emit error:

	ERROR: [Errno 2] No such file or directory: 'testing'
	(Did you forget to include an __init__.py?)

Could you add support for this so that the scan could be completed for such scenario?

@thebjorn
Copy link
Owner

thebjorn commented Apr 8, 2023

See issue #19

@happyhebaby
Copy link
Author

Got it. Thanks @thebjorn

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

No branches or pull requests

2 participants