-
Notifications
You must be signed in to change notification settings - Fork 4
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
DM-42116: Add numpydoc validation #279
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #279 +/- ##
==========================================
+ Coverage 86.96% 87.16% +0.19%
==========================================
Files 49 49
Lines 4441 4424 -17
Branches 769 765 -4
==========================================
- Hits 3862 3856 -6
+ Misses 425 415 -10
+ Partials 154 153 -1 ☔ View full report in Codecov by Sentry. |
686046e
to
6b66f89
Compare
def profile(filename: str, log: logging.Logger | None = None) -> Iterator: | ||
"""Context manager for profiling with cProfile | ||
|
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.
Just want to check and confirm that this is fully private and safe to remove
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.
It is a helper function for the --profile
option and is identical to the version in lsst.utils
. I removed the code duplication and the function (and lsst.ctrl.mpexec.util
) was never meant to be public.
Checklist
doc/changes