From aea93874cc02a32db502472bc39755a64470f05b Mon Sep 17 00:00:00 2001 From: Andrew Hamilton Date: Sun, 21 Jul 2019 23:54:55 +1000 Subject: [PATCH] tools: Enable color for yamllint. - Yamllint uses the 'faint' escape code. Ignoring for now. --- TODO | 2 ++ eris/tools.toml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index a1bf44c..008c148 100644 --- a/TODO +++ b/TODO @@ -1,6 +1,8 @@ Todo - Publish on pypi. - Make a snap build work. +- Support 'reverse' and 'faint' escape codes, + used by pylint and yamllint. Todo (tool related) diff --git a/eris/tools.toml b/eris/tools.toml index 28f960a..991d5ac 100644 --- a/eris/tools.toml +++ b/eris/tools.toml @@ -285,7 +285,8 @@ tools_for_extensions = [ [yamllint] dependencies = ["pip/yamllint"] url = "https://github.com/adrienverge/yamllint" - command = "python3.7 -m yamllint" + command = "python3.7 -m yamllint -f colored" + has_color = true [mediainfo] dependencies = ["mediainfo"]