-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Enhancement ✨Improvement to a componentImprovement to a componentMinor 💅Polishing pylint is always nicePolishing pylint is always nice
Description
Current behavior
Currently, when selecting a format like JSON using the -f argument, it will replace the "normal" output.
Expected behavior
It would be nice to have it generate an output-file instead so the normal human-readable output is still there. This makes sens in a CI environment like travis or gitlab where you can see the stdout and stderr of each job but where you also want to parse the output.
Allowing multiple output formats would solve this. Maybe with a new CLI argument? Or by adding a separator to the current value? For example:
pylint -f json:output.json # Would redirect the JSON data to output.json and still write the normal report to stdout
pylint --version output
pylint 1.8.1,
astroid 1.6.0
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609]
ruro
Metadata
Metadata
Assignees
Labels
Enhancement ✨Improvement to a componentImprovement to a componentMinor 💅Polishing pylint is always nicePolishing pylint is always nice