Colorize linter output
This commit is contained in:
parent
9a296eded9
commit
5b99e786f0
2 changed files with 2 additions and 2 deletions
2
.pylint
2
.pylint
|
@ -163,7 +163,7 @@ evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / stateme
|
|||
# Set the output format. Available formats are text, parseable, colorized, json
|
||||
# and msvs (visual studio). You can also give a reporter class, e.g.
|
||||
# mypackage.mymodule.MyReporterClass.
|
||||
output-format=text
|
||||
output-format=colorized
|
||||
|
||||
# Tells whether to display a full report or only the messages.
|
||||
reports=no
|
||||
|
|
|
@ -19,7 +19,7 @@ main () {
|
|||
shellcheck --version >&2
|
||||
echo "Checking files:" >&2
|
||||
list_bash_files >&2
|
||||
list_bash_files | xargs -L 1000 shellcheck "$@"
|
||||
list_bash_files | xargs -L 1000 shellcheck --color "$@"
|
||||
}
|
||||
|
||||
main "$@"
|
||||
|
|
Loading…
Add table
Reference in a new issue