From 5c1b7a73b6a407000d843ee5388a9400fbec9cb0 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Tue, 16 Jul 2019 17:08:58 +0700 Subject: [PATCH] .coafile: Disable incompatible Jinja2 checks Setting check_end_labels was created to remove the need to add copious comments in the Jinja templates. These help with Jinja2 templates, however there are other unavoidable errors with bears-travis.yml.jj2 --- .coafile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.coafile b/.coafile index 2d833de531..f78c659676 100644 --- a/.coafile +++ b/.coafile @@ -80,5 +80,6 @@ shellcheck_ignore = SC2046, SC2154, SC2155 [jinja2] bears = Jinja2Bear files = **.jj2 +check_end_labels = False # Bug in handling of ".. list | sort" -ignore = .moban.dt/Gemfile.jj2, .moban.dt/bear-requirements.txt.jj2, .moban.dt/package.json.jj2 +ignore = .moban.dt/Gemfile.jj2, .moban.dt/bear-requirements.txt.jj2, .moban.dt/package.json.jj2, .moban.dt/bears-travis.yml.jj2