From 2416a1a546c1d2922c37d513df42e9d26bbaaa42 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Thu, 2 Dec 2021 13:29:09 +0100 Subject: Add linters setup Change-Id: If4a4f7ab9e6af63b3f6765c1dc06cb337baddc00 Issue-ID: CIMAN-33 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