From 08ebd8981a2a5e6413dafc2e66cb6a31abc316d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=B2=D0=B0=D0=BD=D0=BE=D0=B2=20=D0=AE=D1=80=D0=B8?= =?UTF-8?q?=D0=B9?= Date: Thu, 18 Jan 2024 11:41:13 +0300 Subject: [PATCH] Edit with `Black` utility. --- examples/hero.py | 4 ++-- kivymd/icon_definitions.py | 3 --- kivymd/theming.py | 1 + 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/examples/hero.py b/examples/hero.py index f5ef13597..49b477304 100644 --- a/examples/hero.py +++ b/examples/hero.py @@ -2,7 +2,7 @@ from kivymd.app import MDApp -KV = ''' +KV = """ MDScreenManager: MDScreen: @@ -53,7 +53,7 @@ MDButtonText: text: "Move Hero To Screen A" -''' +""" class Example(MDApp): diff --git a/kivymd/icon_definitions.py b/kivymd/icon_definitions.py index 15a8774b6..c5ff64cd2 100755 --- a/kivymd/icon_definitions.py +++ b/kivymd/icon_definitions.py @@ -7634,12 +7634,10 @@ def on_start(self): """ ) - class IconItem(MDListItem): icon = StringProperty() text = StringProperty() - class PreviousMDIcons(MDScreen): def set_list_md_icons(self, text="", search=False): """Builds a list of icons for the screen MDIcons.""" @@ -7662,7 +7660,6 @@ def add_icon_item(name_icon): else: add_icon_item(name_icon) - class MainApp(MDApp): def __init__(self, **kwargs): super().__init__(**kwargs) diff --git a/kivymd/theming.py b/kivymd/theming.py index ff082ef8c..fcb0b499d 100755 --- a/kivymd/theming.py +++ b/kivymd/theming.py @@ -22,6 +22,7 @@ has the :attr:`~kivymd.app.MDApp.theme_cls` attribute, with which you control the material properties of your application. """ + import os.path from timeit import default_timer