From fd1352ad7e2b4be2769c8ccbda6a1dcd1eb78afe Mon Sep 17 00:00:00 2001
From: Rafael Guterres Jeffman <rjeffman@redhat.com>
Date: Wed, 12 Jul 2023 17:58:47 -0300
Subject: [PATCH] pylint: Disable warning when using non-literal dict

Recent pylint versions warns when a dictionaire is created using
'dict()' instead of '{...}'. Using 'dict()' in ansible-freeipa modules
actually enhances readability, so this change disables the check for
'use-dict-literal' in pylint.
---
 setup.cfg | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/setup.cfg b/setup.cfg
index 4fe54242..95dc458d 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -55,7 +55,8 @@ disable =
     broad-except,
     too-many-branches,
     too-many-locals,
-    fixme
+    fixme,
+    use-dict-literal
 
 [pylint.BASIC]
 good-names =
-- 
GitLab