URL: https://github.com/freeipa/freeipa/pull/153 Author: martbab Title: #153: [ipa-4-4 only] disable warnings reported by pylint-1.6.4-1 Action: opened
PR body: """ Pylint shipped in Fedora 25 reports 'trailing-newlines' and 'consider-iterating-dictionary' warnings which break FreeIPA builds. On ipa-4-4 branch it is safer to just disable these warnings so as to not mess with code considered stable https://fedorahosted.org/freeipa/ticket/6391 """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/153/head:pr153 git checkout pr153
From e59b7670bbd468107d6a7e90c593aa5b974a3bc3 Mon Sep 17 00:00:00 2001 From: Martin Babinsky <mbabi...@redhat.com> Date: Wed, 12 Oct 2016 10:52:46 +0200 Subject: [PATCH] disable warnings reported by pylint-1.6.4-1 Pylint shipped in Fedora 25 reports 'trailing-newlines' and 'consider-iterating-dictionary' warnings which break FreeIPA builds. On ipa-4-4 branch it is safer to just disable these warnings so as to not mess with code considered stable https://fedorahosted.org/freeipa/ticket/6391 --- pylintrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pylintrc b/pylintrc index bb9c636..085e62a 100644 --- a/pylintrc +++ b/pylintrc @@ -87,7 +87,9 @@ disable= misplaced-comparison-constant, unneeded-not, not-a-mapping, - singleton-comparison + singleton-comparison, + trailing-newlines, + consider-iterating-dictionary [REPORTS]
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code