-
-
Notifications
You must be signed in to change notification settings - Fork 164
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
Thoughts on a new display format for numpydoc lint
and pre-commit hook findings
#606
Comments
Thanks for this suggestion @stefmolin! Can you explain a bit more the requirements for pre-commit to run in parallel? The new format looks good to me, but I'm a bit surprised that a tool wouldn't require |
The only reason not to run in parallel currently is that it leads to calling ![]() Running serially allows us to call numpydoc/.pre-commit-hooks.yaml Line 5 in 532cd7d
If we remove the need for alignment (e.g., switch to a non-tabular format), we can run in parallel because we don't need to collect and format everything together at the end.
I'm not quite sure what you mean here. I'm open to suggestions on the format, but the descriptions are sometimes extremely long and there is no way it wouldn't wrap (multiple) lines. |
I see now: parallelization means one run per file (of bunch of files). This format works just fine for that. The |
So you would prefer this format?
|
The table output generated with
tabulate
can look like this when there is long content:The need to compile everything for the table to have consistent sizing also requires
pre-commit
to run serially. If we switch to a different format, we could have it run in parallel.I was playing around with an alternate format just now and something like this would be a good start:
What do you think?
The text was updated successfully, but these errors were encountered: