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

Plugin could be faster #146

Open
vtexier opened this issue Nov 2, 2021 · 0 comments
Open

Plugin could be faster #146

vtexier opened this issue Nov 2, 2021 · 0 comments

Comments

@vtexier
Copy link

vtexier commented Nov 2, 2021

Expected behavior

Same speed as if I was running pylint with commited files as arguments.

Current behavior

Very slow, as the plugin rerun the pylint command for every single commited file.

Steps to reproduce

  1. Run pylint on a directory and measure time.
  2. Commit all the files from the directory, with autohooks-plugin-pylint check and measure time.
  3. Compare times of 1. and 2. : 2. is far longer than 1.

Would you consider to add files as arguments to a single run of pylint to speed up the commit time ?

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

1 participant