diff --git a/rwx/grub/__init__.py b/rwx/grub/__init__.py index 572b13e..7c0cccc 100644 --- a/rwx/grub/__init__.py +++ b/rwx/grub/__init__.py @@ -24,19 +24,7 @@ def make_image( memdisk_path: str, pubkey_path: str | None = None, ) -> None: - """Make a binary bootable image. - - :param image_format: output format (x86_64-efi, i386-pc, arm64-efi) - :type image_format: str - :param image_path: output file - :type image_path: str - :param modules: modules to embed - :type modules: list[str] - :param memdisk_path: archive to include - :type memdisk_path: str - :param pubkey_path: extra public key to add - :type pubkey_path: str | None - """ + """Make a binary bootable image.""" args: list[str | tuple[str, ...]] = [ "grub-mkimage", ("--compress", COMPRESSION), diff --git a/rwx/os/debian.py b/rwx/os/debian.py index 5cefdaa..98c8928 100644 --- a/rwx/os/debian.py +++ b/rwx/os/debian.py @@ -7,8 +7,5 @@ class Debian(OS): """Debian operating system.""" def get_name(self) -> str: - """Return name. - - :rtype: str - """ + """Return name.""" return "Debian" diff --git a/rwx/prj/__init__.py b/rwx/prj/__init__.py index cfbe3ae..c0251e2 100644 --- a/rwx/prj/__init__.py +++ b/rwx/prj/__init__.py @@ -9,11 +9,7 @@ class Project(Class): """Parent class for any type of project.""" def __init__(self, file: Path) -> None: - """Set file, root & name. - - :param file: root reference file - :type file: Path - """ + """Set file, root & name.""" self.raw = file self.file = self.raw.resolve() self.root: Path = self.file.parent