-
Notifications
You must be signed in to change notification settings - Fork 25
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
[Sweep Rules] Remove unnecessary separators or extra characters in code #2377
Conversation
Rollback Files For Sweep
|
Sandbox Executions
Run packages/squiggle-lang/__tests__/library/number_test.ts through the sandbox.
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2377 +/- ##
==========================================
+ Coverage 72.09% 72.10% +0.01%
==========================================
Files 111 111
Lines 5733 5733
Branches 1097 1097
==========================================
+ Hits 4133 4134 +1
+ Misses 1593 1592 -1
Partials 7 7 ☔ View full report in Codecov by Sentry. |
PR Feedback (click)
I created this PR to address this rule:
"Avoid using unnecessary separators or extra characters in code."
Description
This PR removes unnecessary separators or extra characters in the code to conform to the rule of avoiding them. The changes include removing the unnecessary
,
separator after the last test case forNumber.sum([])
in thepackages/squiggle-lang/__tests__/library/number_test.ts
file and removing the unnecessary,
separator after the last argument of themakeNumberArrayToNumberDefinition
function and themakeNumberArrayToNumberArrayDefinition
function in thepackages/squiggle-lang/src/fr/number.ts
file.Summary of Changes
,
separator after the last test case forNumber.sum([])
inpackages/squiggle-lang/__tests__/library/number_test.ts
.,
separator after the last argument of themakeNumberArrayToNumberDefinition
function and themakeNumberArrayToNumberArrayDefinition
function inpackages/squiggle-lang/src/fr/number.ts
.