Hey,

* Chris Spencer <chriss...@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 | m...@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/

Attachment: signature.asc
Description: PGP signature

_______________________________________________
code-quality mailing list
code-quality@python.org
https://mail.python.org/mailman/listinfo/code-quality

Reply via email to