-
Notifications
You must be signed in to change notification settings - Fork 235
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
Function Scoping Fixes #1242
Function Scoping Fixes #1242
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1242 +/- ##
=======================================
Coverage 76.84% 76.84%
=======================================
Files 390 390
Lines 61963 61981 +18
Branches 11398 11393 -5
=======================================
+ Hits 47616 47630 +14
- Misses 11878 11884 +6
+ Partials 2469 2467 -2
☔ View full report in Codecov by Sentry. |
@jsiirola Would you have time to take a quick look at this to double check that there aren't any other unexpected issues related to this (either ones that were already there or something added by this change)? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me, pending the tests passing.
The only remaining issue that I could see is mutation of the "list" (I think it's actually a dictionary) |
@andrewlee94 , I renamed some variables, which seems to have triggered CodeCov. Is there a way to just force the rest of the checks to run anyway? |
@dallan-keylogic It looks like the CodeCov failure is due to coverage creep in the repo - our threshold for coverage is slowly creeping up as we force better coverage in the codebase which means that older sections can fall below the new threshold. In this case I am happy to bypass that check. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. Interesting idea placing repeated exceptions in callable methods, too.
If I have to copy and paste once I cringe, if I have to do it twice it becomes a method. That way if you want to change something, you only need to change it one place rather than ten different places scattered throughout the code. |
Fixes
-- Fixes function closure issues outlined in #1240 and #1241 for the Separator and SOC.
Legal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution: