Skip to content

Insert Spaces in Modelica.Blocks.Sources.mo#2

Open
MatthiasBSchaefer wants to merge 7 commits into
masterfrom
Test_RegressionTestingCI
Open

Insert Spaces in Modelica.Blocks.Sources.mo#2
MatthiasBSchaefer wants to merge 7 commits into
masterfrom
Test_RegressionTestingCI

Conversation

@MatthiasBSchaefer

@MatthiasBSchaefer MatthiasBSchaefer commented Jun 30, 2026

Copy link
Copy Markdown

for better readability

Summary by CodeRabbit

  • Style
    • Reformatted spacing for default output connector values in expression blocks (RealExpression, IntegerExpression, BooleanExpression) for consistency (e.g., y=0.0/y=0/y=falsey = ...); no functional behavior changed.
    • Adjusted spacing in the BooleanExpression dialog group text for consistency.

@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Modelica/Blocks/Sources.mo only changes spacing in default-value and parameter declarations, plus one annotation argument. No values, equations, or behavior changed.

Changes

Formatting Fix

Layer / File(s) Summary
Expression whitespace adjustment
Modelica/Blocks/Sources.mo
Adds spaces around = in the y declarations for RealExpression, IntegerExpression, and BooleanExpression; BooleanExpression annotation spacing and Constant parameter initialization spacing are also reformatted.
Estimated code review effort: 1 (Trivial) ~1 minute
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the PR's main change: whitespace formatting updates in Modelica.Blocks.Sources.mo.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch Test_RegressionTestingCI

Comment @coderabbitai help to get the list of available commands.

@MSL-RegressionTesting-CI MSL-RegressionTesting-CI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please look here for details:https:/serv.ltx.de/prs/2/Modelica/PR_comparison_report.html and https:/serv.ltx.de/prs/2/ModelicaTest/PR_comparison_report.html

@MSL-RegressionTesting-CI MSL-RegressionTesting-CI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please look here for details:https:/serv.ltx.de/prs/2/Modelica/PR_comparison_report.html and https:/serv.ltx.de/prs/2/ModelicaTest/PR_comparison_report.html

@MSL-RegressionTesting-CI MSL-RegressionTesting-CI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please look here for details:https:/serv.ltx.de/prs/2/Modelica/PR_comparison_report.html and https:/serv.ltx.de/prs/2/ModelicaTest/PR_comparison_report.html

@MSL-RegressionTesting-CI MSL-RegressionTesting-CI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please look here for details:https:/serv.ltx.de/prs/2/Modelica/PR_comparison_report.html and https:/serv.ltx.de/prs/2/ModelicaTest/PR_comparison_report.html

@MSL-RegressionTesting-CI MSL-RegressionTesting-CI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MSL-RegressionTesting-CI MSL-RegressionTesting-CI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MSL-RegressionTesting-CI MSL-RegressionTesting-CI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MSL-RegressionTesting-CI MSL-RegressionTesting-CI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MSL-RegressionTesting-CI MSL-RegressionTesting-CI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MSL-RegressionTesting-CI MSL-RegressionTesting-CI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MSL-RegressionTesting-CI MSL-RegressionTesting-CI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MSL-RegressionTesting-CI MSL-RegressionTesting-CI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MSL-RegressionTesting-CI MSL-RegressionTesting-CI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MSL-RegressionTesting-CI MSL-RegressionTesting-CI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants