Skip to content

Commit 7c3976f

Browse files
DmytroLitvinovalexmick
authored andcommitted
Fix PEP8 and URL to project (#2)
1 parent e900cd7 commit 7c3976f

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

emoji_data_python/emoji_char.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ def __init__(self, data_blob: dict) -> None:
6262
self.sort_order = data_blob.get('sort_order') # type: int
6363
self.added_in = data_blob.get('added_in') # type: str
6464

65-
self.has_img_apple = data_blob.get('has_img_apple') # type: bool
66-
self.has_img_google = data_blob.get('has_img_google') # type: bool
67-
self.has_img_twitter = data_blob.get('has_img_twitter') # type: bool
68-
self.has_img_emojione = data_blob.get('has_img_emojione') # type: bool
69-
self.has_img_facebook = data_blob.get('has_img_facebook') # type: bool
70-
self.has_img_messenger = data_blob.get('has_img_messenger') # type: bool
65+
self.has_img_apple = data_blob.get('has_img_apple') # type: bool
66+
self.has_img_google = data_blob.get('has_img_google') # type: bool
67+
self.has_img_twitter = data_blob.get('has_img_twitter') # type: bool
68+
self.has_img_emojione = data_blob.get('has_img_emojione') # type: bool
69+
self.has_img_facebook = data_blob.get('has_img_facebook') # type: bool
70+
self.has_img_messenger = data_blob.get('has_img_messenger') # type: bool
7171

7272
variations = data_blob.get('skin_variations', {})
7373
self.skin_variations = {
@@ -102,7 +102,7 @@ def char(self) -> str:
102102
@property
103103
def chars(self) -> List[str]:
104104
"""Lists all possible *rendered* codepoint variations for given emoji.
105-
This is useful when tying to find this particular emoji in a string by looking for any variation.
105+
This is useful when trying to find this particular emoji in a string by looking for any variation.
106106
107107
>>> emoji.chars
108108
['👋', '👋🏻', '👋🏼', '👋🏽', '👋🏾', '👋🏿']

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
setuptools.setup(
88
name="emoji_data_python",
99
version="1.1.0",
10-
url="https://github.com/alexmick/emoji_data_python/",
10+
url="https://github.com/alexmick/emoji-data-python/",
1111

1212
author="Alexander Micklewright",
1313

0 commit comments

Comments
 (0)