-
Notifications
You must be signed in to change notification settings - Fork 15
cr_checker: add exclusion list feature #101
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
base: main
Are you sure you want to change the base?
Conversation
4621a11 to
2e86112
Compare
cr_checker/tests/test_cr_checker.py
Outdated
| "rst", | ||
| ] | ||
| ) | ||
| def prepare_test_with_header(request, tmp_path): |
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.
Same thing here:
Function definition with a return type annotation vs Untyped function definition. Since the approach was to use first, I would say follow the code format, but if you have strong case why you do not want to use it, speak now or be silent forever ;)
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'm changing it for the fixtures. for the test cases i'll keep it as is, because none is using those annotations.
2e86112 to
5e6af8a
Compare
Add a .bazelversion file to pin bazel version to 8.3.1. Builds fail with version 9.0.0.
Allow specifying paths that are being excluded from the copyright check. This feature is supposed to be used for source code parts taken from other open source projects that require correct attribution. The exclusion file shall contain one path to a file per entry. The check shall fail if a file listed does not exist.
Add test cases for the cr_checker core functionality. Fixes: eclipse-score#99
5e6af8a to
998a84f
Compare
Allow specifying paths that are being excluded from the copyright check.
This feature is supposed to be used for source code parts taken from
other open source projects that require correct attribution.
The exclusion file shall contain one path to a file per entry. The check
shall fail if a file listed does not exist.
Furthermore extend the test suite to cover the core functionality as well
as the newly added functionality.
Fixes: #99