Safe-DS / DSL

Statically checked Data Science programs.
https://dsl.safeds.com
MIT License
11 stars 0 forks source link

feat: suggest adding assignment if statement does nothing #1156

Closed lars-reimann closed 2 months ago

lars-reimann commented 2 months ago

Closes #1142

Summary of Changes

Suggest adding an assignment if the user likely forgot it.

github-actions[bot] commented 2 months ago

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ REPOSITORY git_diff yes no 0.13s
✅ TYPESCRIPT eslint 1 0 0 4.0s
✅ TYPESCRIPT prettier 1 0 0 0.71s

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 2 months ago

Codecov Report

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

Project coverage is 100.00%. Comparing base (25781a8) to head (d9ebedd).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1156 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 110 110 Lines 19231 19247 +16 Branches 4110 4117 +7 ========================================= + Hits 19231 19247 +16 ```

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

lars-reimann commented 1 month ago

:tada: This PR is included in version 0.15.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: