-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add check files component #133
Add check files component #133
Conversation
550a1c4
to
5f6ed4e
Compare
e409293
to
4e5c203
Compare
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.
LGTM
It seems to me that the I know that this PR is going to be updated anyway once the framework PR is merged, but for the sake of CI testing I think it would be better to test the proper version. |
Yes, good spot. I shall update the framework pointer now. CI should continue passing with any luck :) |
4e5c203
to
4465e98
Compare
#### Basic checks | ||
################################################################ | ||
|
||
component_tf_psa_crypto_check_files () { |
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.
The originating issue says we need 2 new components: component_tf_psa_crypto_check_files
(added here) and component_tf_psa_crypto_check_python_files
which I cannot find anywhere in the repo. Just to be sure, was it intentional to skip the 2nd?
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.
Ah, it was edited since I last saw it. Let me add a new component for check_python_files
.
|
||
components_tf_psa_crypto_check_python_files () { | ||
msg "Lint: Python scripts" | ||
./framework/scripts/check-python-files.sh |
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.
Sorry to bother you again, but why ./framework/
here and $FRAMEWORK
on line 14?
IMO it would be better to keep the same pattern along the file and the one on line 14 looks better IMO.
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.
Sorry forgot to edit that line. Both are the same but ideally for maintainability I should have used $FRAMEWORK
.
9dcf1d6
to
6a945cc
Compare
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.
Thanks for addressing my comment. LGTM :)
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.
LGTM
4dbc3b7
6a945cc
to
4dbc3b7
Compare
This commit enables a check_files component for TF-PSA-Crypto. Signed-off-by: Harry Ramsey <[email protected]>
This commit updates the framework to enable check_files.py to run for TF-PSA-Crypto. Signed-off-by: Harry Ramsey <[email protected]>
This commit adds the check python files component to TF-PSA-Crypto. Signed-off-by: Harry Ramsey <[email protected]>
4dbc3b7
to
a320a4b
Compare
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.
LGTM
Description
Enable check_files.py for TF-PSA-Crypto. Closes #51.
PR checklist
Please remove the segment/s on either side of the | symbol as appropriate, and add any relevant link/s to the end of the line.
If the provided content is part of the present PR remove the # symbol.
Notes for the submitter
Please refer to the contributing guidelines, especially the
checklist for PR contributors.
Help make review efficient: