From 4fd3f54ea65b3a4596df5127dae0895ee62e7da3 Mon Sep 17 00:00:00 2001 From: Taseer Ahmed Date: Mon, 25 Jun 2018 21:16:41 +0500 Subject: [PATCH] Add Coala linting tests for Ansible module Change-Id: Ib34033834dabb1dbe33463fe71dcbcd8731f0e65 Signed-off-by: Taseer Ahmed --- .coafile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.coafile b/.coafile index 459a882..6456692 100644 --- a/.coafile +++ b/.coafile @@ -63,3 +63,11 @@ default_actions = JSONFormatBear: ApplyPatchAction bears = XMLBear enabled = False files = **.xml + +[all.python] +bears = PEP8Bear, + PyUnusedCodeBear, + PyImportSortBear +files = **.py +default_actions = PyUnusedCodeBear: ApplyPatchAction, + PyImportSortBear: ApplyPatchAction \ No newline at end of file -- 2.36.6