Skip to content

Commit 38f1d74

Browse files
surbhiPeterSurda
authored andcommitted
fix lints
1 parent aa36faf commit 38f1d74

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/bitmessagekivy/baseclass/common.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# pylint: disable=no-name-in-module, attribute-defined-outside-init, import-error, unused-argument
2+
# pylint: disable=no-init, too-few-public-methods
3+
24
"""
35
All Common widgets of kivy are managed here.
46
"""
@@ -44,7 +46,7 @@
4446
}
4547

4648

47-
class ChipProperties:
49+
class ChipProperties():
4850
"""ChipProperties class for kivy UI"""
4951
CENTER_X_ANDROID = 0.91
5052
CENTER_X_OTHER = 0.94
@@ -56,7 +58,7 @@ class ChipProperties:
5658
SIZE_HINT_OTHER = (0.08, None)
5759

5860

59-
class BadgeProperties:
61+
class BadgeProperties():
6062
"""BadgeProperties class for kivy UI"""
6163
SIZE_ANDROID = [120, 140]
6264
SIZE_OTHER = [64, 80]

src/bitmessagekivy/baseclass/maildetail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def assign_mail_details(self, data):
131131
if self.page_type == 'draft'
132132
else os.path.join(
133133
self.kivy_state.image_dir, 'text_images',
134-
f'{avatar_image_first_letter(self.subject.strip())}.png'
134+
f'{avatar_image_first_letter(self.subject.strip())}.png' # noqa: E999
135135
)
136136
)
137137
self.timeinseconds = data[0][4] if self.page_type == 'inbox' else data[0][6]

0 commit comments

Comments
 (0)