From 88311cb55c1af0df40e4d1ea1486b655bafd9fb6 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 13 Sep 2024 16:50:20 +0200 Subject: [PATCH] lint/prj --- rwx/prj/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rwx/prj/__init__.py b/rwx/prj/__init__.py index 227a686..6a3e059 100644 --- a/rwx/prj/__init__.py +++ b/rwx/prj/__init__.py @@ -1,8 +1,13 @@ +"""Handle projects.""" + from os import path class Project: + """Parent class for any type of project.""" + def __init__(self, file_path: str) -> None: + """Set file, root & name.""" self.file: str = path.realpath(file_path) self.root: str = path.dirname(self.file) self.name: str = path.basename(self.root)