-
Notifications
You must be signed in to change notification settings - Fork 2
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
WP5 indiv process testing: code style improvements #32
Conversation
- avoid in-place dict mutations - add type hints - use more keyword args for call robustness - more clearly mark internal helpers as private - finetune exception handling - finetune pytest asserts (where default value rendering should be good enough) Rebased version of PR #21
I can confirm that #21 and #32 do the same, so #21 can be closed. Nevertheless, the missing warnings are still a thing. See #21 (comment) Otherwise lgtm |
about the missing warnings issue, I did some digging: warnings.warn
log.warning
I think in general |
I'll go ahead and merge this, because there is too much risk on conflicts with other issues/PRs I want to work on |
I can't confirm this. From what you've stated above, I'd have assumed that adding |
Okay, I see what happens here: They now show up in the live log setup: That is confusing. They are also not identified as warnings by pytest. Is there a way to fix this, @soxofaan ? |
Moved the issue to #33 to unblock this PR. |
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.
Approving with the caveat of the open issue in #33
thanks merged in 0e7a7d7 |
This is rebased version of PR #21 after it got in messy conflict with main branch