-
Notifications
You must be signed in to change notification settings - Fork 16
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
Feat/checksize #73
Feat/checksize #73
Conversation
jneo8
commented
Oct 24, 2023
•
edited
Loading
edited
- Only fetch tools which in required list
- Checking file size before running strategies
- Error handling for strategy install
Show missing resource block status if resource size is zero
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.
LGTM
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.
small doc rewording suggestion
def __init__(self, tool: HWTool, path: Path): | ||
"""Init.""" | ||
self.message = f"Tool: {tool} path: {path} size is zero" |
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.
This will not work properly.
example:
>>> class TestException(Exception):
... def __init__(self, arg1, arg2):
... self.message = f"test message with: {arg1}, {arg2}"
...
>>> raise TestException("a", "b")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TestException: ('a', 'b')
We should use super().__init__(f"message")
.