diff --git a/rwx/os/__init__.py b/rwx/os/__init__.py index 75a0bc9..27c1748 100644 --- a/rwx/os/__init__.py +++ b/rwx/os/__init__.py @@ -8,7 +8,12 @@ from .debian import Debian def from_path(path: Path) -> OS: - """Initialize from an already existing path.""" + """Initialize from an already existing path. + + :param path: source root directory + :type path: Path + :rtype: OS + """ return Debian(path) diff --git a/rwx/os/abstract.py b/rwx/os/abstract.py index f4837fc..77f9cb1 100644 --- a/rwx/os/abstract.py +++ b/rwx/os/abstract.py @@ -10,10 +10,17 @@ class OS(Class, ABC): """Operating System.""" def __init__(self, path: Path) -> None: - """Set root.""" + """Set root. + + :param path: root directory + :type path: Path + """ self.root = path self.name = self.get_name() @abstractmethod def get_name(self) -> str: - """Return mandatory name.""" + """Return mandatory name. + + :rtype: str + """