feat: Stubs are created for referenced declarations in other packages#70
Conversation
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #70 +/- ##
==========================================
+ Coverage 98.78% 98.80% +0.02%
==========================================
Files 25 25
Lines 2053 2098 +45
==========================================
+ Hits 2028 2073 +45
Misses 25 25 ☔ View full report in Codecov by Sentry. |
…declarations' into 66-limited-stubs-for-referenced-declarations
…ed the function _convert_snake_to_camel_case to _convert_name_to_convention
…declarations' into 66-limited-stubs-for-referenced-declarations
|
@lars-reimann I changed the stubs-generator the way you said and refactored the tests, are the tests like this all right or should I still try to get the file names with |
|
Also, you can merge this PR first. |
…declarations' into 66-limited-stubs-for-referenced-declarations
|
@lars-reimann I changed the tests, now all stubs files should be checked |
|
Yep, looks great this way and should be easier to extend later on. |
## [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 📦🚀 |
Closes #66
Summary of Changes
Now limited stubs are created for imported classes from other packages.