Skip to content
Snippets Groups Projects
Commit f2bcc8dc authored by Philipp Hörist's avatar Philipp Hörist
Browse files

EmojiData: Fix pylint errors

parent cd510a8a
No related branches found
No related tags found
No related merge requests found
......@@ -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'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment