From b5a3ac66db7de050f34e6e277854e7dad188adbe Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Fri, 19 Mar 2021 10:29:43 +0100 Subject: Add linters setup Change-Id: I08935efd95bff91ce1d6a54ae6e4da3e4d32f61c Issue-ID: INT-1890 Signed-off-by: Bartek Grzybowski --- .coafile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .coafile (limited to '.coafile') diff --git a/.coafile b/.coafile new file mode 100644 index 0000000..aaae2c1 --- /dev/null +++ b/.coafile @@ -0,0 +1,29 @@ +[yaml] +bears = YAMLLintBear +yamllint_config = .yamllint +ignore = + .tox/** + +[json] +bears = JSONFormatBear +json_sort = False +indent_size = 2 +ignore = + .tox/** + +[py] +bears = PyLintBear +pylint_disable = all +pylint_enable = + bad-indentation, trailing-whitespace, unused-wildcard-import, unused-import, + unnecessary-semicolon, unnecessary-semicolon, undefined-variable, + syntax-error, unused-variable, using-constant-test,unused-argument, + len-as-condition, trailing-newlines, missing-final-newline, reimported, + too-many-function-args, singleton-comparison +ignore = + .tox/** + +[md] +bears = MarkdownBear +ignore = + .tox/** -- cgit 1.2.3-korg