-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[bct] Checker refactoring + new overload checker #37284
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
Conversation
| # -------------------------------------------------------------------------------------------- | ||
| import sys | ||
| import os | ||
| sys.path.append(os.path.abspath("../../scripts/breaking_changes_checker")) |
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.
why is this needed?
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.
I wasnt able to reference the _models from here for some reason :/ I'll look back into why this was necessary in the future (tracking issue: #37914)
scripts/breaking_changes_checker/checkers/added_method_overloads_checker.py
Outdated
Show resolved
Hide resolved
* fix type parsing * add new overload checker * rename checkers * add base checker prop * comments * refactor pluggable checks * update protocol model * add test * tweak checker calls * update test * loop on valid entries * update checker * fix checkers * mark checkertype as enum * shared method --------- Co-authored-by: Catalina Peralta <caperal@microsoft.com>
Adjusting the pluggable checker functionality to make it easier to migrate more checks. The design is still in flux but this will facilitate migration so that we can see how we need to refine/optimize the checker design.
Fixes #36986
Tracking issue for future overload work for a different PR: #37033