From f4d42825c81b3275cdb0135767f0ff504b7d6dad Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Mon, 15 Feb 2021 10:37:45 +0100 Subject: Add Tox setup for linters Change-Id: I48734db48288b0f81a51261255afd2228f010707 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