URL: https://github.com/freeipa/freeipa/pull/5056
Author: abbra
 Title: #5056: Update pylintrc to ignore aggressive errors from pylint 2.6.0
Action: opened

PR body:
"""
pylint 2.6.0 forces aggressive switch to Python 3 constructs that would make
FreeIPA 4.8+ incompatible with most of FreeIPA 4.6 code base.

Disable 'raise-missing-from' and 'super-with-arguments' right now.

Signed-off-by: Alexander Bokovoy <aboko...@redhat.com>
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5056/head:pr5056
git checkout pr5056
From 7850d5f4083931c429e05d7fd9568e27d24311a1 Mon Sep 17 00:00:00 2001
From: Alexander Bokovoy <a...@vda.li>
Date: Sat, 22 Aug 2020 13:56:00 +0300
Subject: [PATCH] Update pylintrc to ignore aggressive errors from pylint 2.6.0

pylint 2.6.0 forces aggressive switch to Python 3 constructs that would make
FreeIPA 4.8+ incompatible with most of FreeIPA 4.6 code base.

Disable 'raise-missing-from' and 'super-with-arguments' right now.

Signed-off-by: Alexander Bokovoy <aboko...@redhat.com>
---
 pylintrc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pylintrc b/pylintrc
index 32a671daf5..db7f2eb16e 100644
--- a/pylintrc
+++ b/pylintrc
@@ -103,6 +103,8 @@ disable=
     no-else-raise, # python 2.4.0
     import-outside-toplevel, # pylint 2.4.2
     f-string-without-interpolation,  # pylint 2.5.0, bare f-strings are ok
+    raise-missing-from, # pylint 2.6.0
+    super-with-arguments, # pylint 2.6.0
 
 [REPORTS]
 
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/freeipa-devel@lists.fedorahosted.org

Reply via email to