Add Coala linting tests for Ansible module 12/73412/8
authorTaseer Ahmed <taseer94@gmail.com>
Mon, 25 Jun 2018 16:16:41 +0000 (21:16 +0500)
committerDaniel Farrell <dfarrell@redhat.com>
Thu, 28 Jun 2018 16:53:48 +0000 (16:53 +0000)
Change-Id: Ib34033834dabb1dbe33463fe71dcbcd8731f0e65
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
.coafile

index 459a882127ea61c262336a573c4a4399e80766b1..64566920c9d6b4434ed87f00f72cc475d37d1f4f 100644 (file)
--- 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