diff --git a/builder/bundler.py b/builder/bundler.py index c85e4afe..8c57c568 100644 --- a/builder/bundler.py +++ b/builder/bundler.py @@ -26,9 +26,9 @@ windows_cursors = { } -class Bundler(): +class Bundler: """ - Create crisp package for Bibata Windows & X11 packages 📦. + Create crisp package for Bibata Windows & X11 packages 📦. """ def __init__(self, config: ConfigProvider) -> None: diff --git a/builder/config.py b/builder/config.py index 6fdbf338..003de519 100644 --- a/builder/config.py +++ b/builder/config.py @@ -7,8 +7,8 @@ import shutil from os import path, mkdir import tempfile -from builder import __path__ -from builder.pkg_info import info +from . import __path__ +from .pkg_info import info # Build Config delay = 35 diff --git a/builder/cursor.py b/builder/cursor.py index 2b99c16e..f4f7406d 100644 --- a/builder/cursor.py +++ b/builder/cursor.py @@ -6,9 +6,9 @@ from .config import ConfigProvider, hotspots, sizes, delay from clickgen import build_x11_cursor_theme, build_cursor_theme, build_win_cursor_theme -class CursorBuilder(): +class CursorBuilder: """ - Build Bibata Windows & X11 cursors 🚀. + Build Bibata Windows & X11 cursors 🚀. """ def __init__(self, config: ConfigProvider) -> None: @@ -19,7 +19,7 @@ class CursorBuilder(): def build_x11_cursors(self) -> None: """ Build `x11` platform cursors. """ - print('🌈 Building %s Theme ...' % self.__name) + print("🌈 Building %s Theme ..." % self.__name) build_x11_cursor_theme( name=self.__name, image_dir=self.__bitmaps_dir, @@ -27,14 +27,14 @@ class CursorBuilder(): hotspots=hotspots, out_path=self.__tmpdir, archive=False, - delay=delay + delay=delay, ) self.__bundler.x11_bundle() def build_win_cursors(self) -> None: """ Build `Windows` platform cursors. """ - print('🌈 Building %s Theme ...' % self.__name) + print("🌈 Building %s Theme ..." % self.__name) build_win_cursor_theme( name=self.__name, image_dir=self.__bitmaps_dir, @@ -42,14 +42,14 @@ class CursorBuilder(): hotspots=hotspots, out_path=self.__tmpdir, archive=False, - delay=delay + delay=delay, ) self.__bundler.win_bundle() def build_cursors(self) -> None: """ Build `x11` & `Windows` platform cursors. """ - print('🌈 Building %s Theme ...' % self.__name) + print("🌈 Building %s Theme ..." % self.__name) build_cursor_theme( name=self.__name, image_dir=self.__bitmaps_dir, @@ -57,7 +57,7 @@ class CursorBuilder(): hotspots=hotspots, out_path=self.__tmpdir, archive=False, - delay=delay + delay=delay, ) self.__bundler.bundle()