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

Better error messages for unsupported features #42

Open
strokirk opened this issue Jun 1, 2023 · 1 comment
Open

Better error messages for unsupported features #42

strokirk opened this issue Jun 1, 2023 · 1 comment

Comments

@strokirk
Copy link

strokirk commented Jun 1, 2023

Hi! pylyzer sounds like a very interesting project. However, when I tried it out on a very small program, I got a number of false positives (for the stdlib), and slow performance (for 3rd party libs).

To make the experience better for first-time users, how about exiting early from unimplemented checks, with a debug warning that that feature is not ready?

For example:

  • checking whole directories
  • checking pip-installed libraries
  • checking certain parts of the stdlib
@mtshiba
Copy link
Owner

mtshiba commented Jun 1, 2023

Analysis of third-party libraries is, in fact, one of the experimental features. This feature is supposed to apply only to the beta version, but was inadvertently enabled in v0.0.30 and has been disabled in v0.0.31. You can try it by building with the experimental feature flag.

One reason it is slow is that pylyzer does not yet support parallel analysis (now I'm working on this).

And I'm also in the process of fixing the problem of false positive errors.

IAC, this tool has just been released and is still in its infancy. Please wait a little longer until it is ready for real world use.

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