From d04c66d827dd885c492d4801321b926aa8abcbdc Mon Sep 17 00:00:00 2001 From: Ronald van Zantvoort Date: Wed, 15 Apr 2015 15:47:36 +0200 Subject: [PATCH] Ignore PyLint for external ipaddress module --- salt/ext/ipaddress.py | 8 +++++++- tests/utils/test_ipaddress.py | 7 ++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/salt/ext/ipaddress.py b/salt/ext/ipaddress.py index 906d5fd9f03..52ff7aaefe8 100644 --- a/salt/ext/ipaddress.py +++ b/salt/ext/ipaddress.py @@ -1,4 +1,10 @@ -# Python 2.7 port of Python 3.4's ipaddress module. +''' +Python 2.[67] port of Python 3.4's ipaddress module + +Almost verbatim copy of the core lib, with compatibility changes +Source: https://bitbucket.org/kwi/py2-ipaddress/ +''' +# pylint: skip-file # List of compatibility changes: diff --git a/tests/utils/test_ipaddress.py b/tests/utils/test_ipaddress.py index dc37ec7a8db..66efafd8e88 100644 --- a/tests/utils/test_ipaddress.py +++ b/tests/utils/test_ipaddress.py @@ -1,4 +1,9 @@ -# Python 2.7 port of Python 3.4's test_ipaddress. +''' +Python 2.[67] port of Python 3.4's test_ipaddress. + +Almost verbatim copy of core lib w/compatibility fixes +''' +# pylint: skip-file # List of compatibility changes: