-
Notifications
You must be signed in to change notification settings - Fork 357
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
style: update harness to eliminate I2041 flake8 errors #8960
Conversation
✅ Deploy Preview for determined-ui ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
5db785c
to
288b747
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8960 +/- ##
==========================================
- Coverage 47.12% 47.07% -0.05%
==========================================
Files 1153 1154 +1
Lines 142358 142272 -86
Branches 2421 2421
==========================================
- Hits 67080 66979 -101
- Misses 75088 75103 +15
Partials 190 190
Flags with carried forward coverage won't be shown. Click here to find out more.
|
794a538
to
d2d7755
Compare
@@ -5,27 +5,30 @@ | |||
import termcolor | |||
|
|||
from determined import cli | |||
|
|||
# avoid circular import | |||
from determined.cli import _declarative_argparse as detparse |
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.
if I were making this PR I'd probably do as cli
here so the usage looks the same as "standard" one, and then Ryan will look at it and say it's an awful idea and I'd have to change it to something like this. anyhow, disregard this comment.
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.
Yeah, it's a bit awkward. Another solution would be to refactor parts of this file into _declarative_argparse.py
.
b2a9771
to
0047fab
Compare
435de3a
to
ad2e01d
Compare
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 is great
62d8ad5
to
6301258
Compare
61ce7c9
to
dd6a59c
Compare
Description
Update a lot of imports and variables to solve I2041 flake8 issues.
Test Plan
No testing required
Commentary (optional)
Checklist
docs/release-notes/
.See Release Note for details.
Ticket
MD-13