diff --git a/gajim/gtk/emoji_data.py b/gajim/gtk/emoji_data.py
index 41cbca730c761f4d45069ca055d8209a23ac0c10..fd3ce61366c5fa3b80996f0313fa9bbe21b9f765 100644
--- a/gajim/gtk/emoji_data.py
+++ b/gajim/gtk/emoji_data.py
@@ -12,6 +12,8 @@
 # You should have received a copy of the GNU General Public License
 # along with Gajim. If not, see <http://www.gnu.org/licenses/>.
 
+# pylint: disable=too-many-lines
+
 import re
 import weakref
 from enum import IntEnum
@@ -49,7 +51,7 @@ def get_emoji_pixbuf(codepoints):
 
     pixbuf = emoji_pixbufs.get(codepoints, None)
     if pixbuf is None:
-        return
+        return None
     pixbuf = pixbuf.scale_simple(Emoji.TEXT_SIZE,
                                  Emoji.TEXT_SIZE,
                                  GdkPixbuf.InterpType.HYPER)
@@ -178,6 +180,8 @@ def get_regex(self):
 
 emoji_pixbufs = EmojiPixbufs()
 
+# pylint: disable=line-too-long
+
 emoji_ascii_data = EmojiAsciiData([
     ("':-D", '\U0001F605'),
     (':)', '\U0001F642'),