-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve types and docstrings #109
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: zethson <lukas.heumos@posteo.net>
Signed-off-by: zethson <lukas.heumos@posteo.net>
if self.cache is not None: | ||
path = os.path.join(self.config["cache"], f"{self.__class__.__name__}_") | ||
path = os.path.join(self.directory["cache"], f"{self.__class__.__name__}_") # type: ignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self.directory should raise an error I think because it doesn't exist. Was there a specific reason you changed it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, self.config
does not exist. What should it be?
Signed-off-by: zethson <lukas.heumos@posteo.net>
Signed-off-by: zethson <lukas.heumos@posteo.net>
There's many more but I'll do this in passes. Easier to review and omg this takes time.