[code-quality] Getting progress output?
Florian Bruhin
me at the-compiler.org
Tue Feb 28 17:11:52 EST 2017
Hey,
* Chris Spencer <chrisspen at gmail.com> [2017-01-19 10:45:53 -0500]:
> Is there any way to configure Pylint to report progress? Nothing fancy,
> just something like "Processing file 4 of 104..."
Sorry for the late answer to this!
There's no way to do this currently, and I'd actually like something
similar.
It wouldn't be too hard - this is a start:
diff --git a/pylint/lint.py b/pylint/lint.py
index 258bfdc3..30bac9f1 100644
--- a/pylint/lint.py
+++ b/pylint/lint.py
@@ -839,6 +839,8 @@ class PyLinter(config.OptionsManagerMixIn,
if not self.should_analyze_file(modname, filepath, is_argument=is_arg):
continue
+ print(modname)
+
self.set_current_module(modname, filepath)
# get the module representation
ast_node = self.get_ast(filepath, modname)
However I never got around to making this a proper option and turning
it into a PR...
Florian
--
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/code-quality/attachments/20170228/82981624/attachment.sig>
More information about the code-quality
mailing list