From: Kaliko Jack Date: Fri, 15 Nov 2013 19:15:37 +0000 (+0100) Subject: Add some pylint exclusions X-Git-Tag: v0.4.0~5 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=ca2fb2a8b8ec82b9156265e07f43c937111d5b90;p=python-musicpd.git Add some pylint exclusions --- diff --git a/README.txt b/README.txt index 8077aa2..e6a2e31 100644 --- a/README.txt +++ b/README.txt @@ -6,7 +6,7 @@ Getting python-musicpd ---------------------- The latest release of python-musicpd can be found at -http://pypi.python.org/pypi/python-musicpd/. +http://pypi.python.org/pypi/python-musicpd. Getting the latest source code @@ -70,7 +70,7 @@ You can contact the original author by emailing J. Alexander Treuman . He can also be found idling in #mpd on irc.freenode.net as jat. -The current maintainer can be found on xmpp chat room kaliko.me@conf.azylum.org +The current maintainer can be found on xmpp chat room or you can contact him by email/xmpp . .. _Installing Python Modules: http://docs.python.org/3/install/ diff --git a/musicpd.py b/musicpd.py index f480acd..e281a92 100644 --- a/musicpd.py +++ b/musicpd.py @@ -15,6 +15,8 @@ # You should have received a copy of the GNU Lesser General Public License # along with python-musicpd. If not, see . +# pylint: disable=C0111 + import socket @@ -22,7 +24,7 @@ HELLO_PREFIX = "OK MPD " ERROR_PREFIX = "ACK " SUCCESS = "OK" NEXT = "list_OK" -VERSION = '0.4.0pr0' +VERSION = '0.4.0pr1' class MPDError(Exception): @@ -382,6 +384,7 @@ class MPDClient(object): self.mpd_version = line[len(HELLO_PREFIX):].strip() def _reset(self): + # pylint: disable=w0201 self.mpd_version = None self._iterating = False self._pending = []