Safe-DS / Stub-Generator

Automated generation of Safe-DS stubs for Python libraries.
https://stubgen.safeds.com
MIT License
3 stars 0 forks source link

fix: internal superclass wont be generated #141

Closed Masara closed 5 months ago

Masara commented 6 months ago

Closes #137

Summary of Changes

Fixed a bug where internal superclasses would be generated because of wrong "internal" check. Furthermore fixed a bug where methods, which where adopted from internal superclasses would sometimes be doubled (e.g. for ABC superclasses), because they where created in both the main class and its superclass.

github-actions[bot] commented 6 months ago

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 1 0 0 0.81s
✅ PYTHON mypy 1 0 5.2s
✅ PYTHON ruff 1 0 0 0.03s
✅ REPOSITORY git_diff yes no 0.02s

See detailed report in MegaLinter reports _Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff_

_MegaLinter is graciously provided by OX Security_

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.56%. Comparing base (3f87c26) to head (a8d5abe). Report is 20 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #141 +/- ## ======================================= Coverage 99.55% 99.56% ======================================= Files 25 25 Lines 2484 2516 +32 ======================================= + Hits 2473 2505 +32 Misses 11 11 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.