-
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
feat: Safe-DS stubs also contain docstring information. #78
Conversation
…dated test snapshots
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
@lars-reimann I don't understand why the tests fail here. The tests run without fail on my Windows machine (Python3.12.0) and on an Ubuntu VM (Python3.11.0rc1 & Python3.12.2). I didn't change anything important connected to the |
a95175e
to
29f0bd3
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #78 +/- ##
==========================================
+ Coverage 99.21% 99.24% +0.02%
==========================================
Files 25 25
Lines 2176 2238 +62
==========================================
+ Hits 2159 2221 +62
Misses 17 17 ☔ View full report in Codecov by Sentry. |
@Masara It should work now. Test IDs were not unique, which seems to lead to non-deterministic behavior for the snapshot tests. |
...or/__snapshots__/test_generate_stubs/test_stub_docstring_creation[numpydoc-NUMPYDOC].sdsstub
Outdated
Show resolved
Hide resolved
...or/__snapshots__/test_generate_stubs/test_stub_docstring_creation[numpydoc-NUMPYDOC].sdsstub
Outdated
Show resolved
Hide resolved
… since it will be removed soon
…anations for the errors
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.
Thanks a lot.
## [0.2.0](v0.1.0...v0.2.0) (2024-03-29) ### Features * Added generation for Safe-DS stubs files ([#33](#33)) ([ab45b45](ab45b45)) * Correct stubs for TypeVars ([#67](#67)) ([df8c5c9](df8c5c9)), closes [#63](#63) * Create stubs for public methods of inherited internal classes ([#69](#69)) ([71b38d7](71b38d7)), closes [#64](#64) * Rework import generation for stubs. ([#50](#50)) ([216e179](216e179)), closes [#38](#38) [#24](#24) [#38](#38) [#24](#24) * Safe-DS stubs also contain docstring information. ([#78](#78)) ([bdb43bd](bdb43bd)) * Stubs are created for referenced declarations in other packages ([#70](#70)) ([522f38d](522f38d)), closes [#66](#66) ### Bug Fixes * Some packages couldn't be analyzed ([#51](#51)) ([fa3d020](fa3d020)), closes [#48](#48) * Stub generation testing and fixing of miscellaneous bugs ([#76](#76)) ([97b0ab3](97b0ab3))
🎉 This PR is included in version 0.2.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Summary of Changes
Added docstring information support for all docstring types, excluding attribute information for Epydoc docstrings.
The following is included:
@property
methods