-
Notifications
You must be signed in to change notification settings - Fork 344
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
Avocado: use avocado-static-checks #6026
Avocado: use avocado-static-checks #6026
Conversation
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.
Hi @clebergnu, the overall changes LGTM, but IIUIC avocado uses submodules now, therefore we need to update the contribution guide, because the Git workflow, will be different from now.
This enables the bare minimum of the avocado-static-checks usage, adds the submodule switches the "isort" check, one of the most simplistic, to the one provided by the avocado-static-checks repo. Fixes: avocado-framework#5991 Signed-off-by: Cleber Rosa <[email protected]>
This replaces another one of the in-tree check scripts with the one provided by avocado-static-checks. Fixes: avocado-framework#5989 Signed-off-by: Cleber Rosa <[email protected]>
This switches to the script provided by the avocado-static-checks repo, while using the local pylintrc configuration (set through the use of "avocado-static-checks.conf". In the near future, at least the "avocado/utils" directory needs to made compliant with the standard pylint configuration provided by avocado-static-checks, so that code can be easily moved to autils. Fixes: avocado-framework#5990 Signed-off-by: Cleber Rosa <[email protected]>
ab20361
to
41edcce
Compare
Good point @richtja ! I've sent an update. Thanks for the review. |
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.
@clebergnu, LGTM, thank you for the updates.
This change introduces the use of the "avocado-static-checks" repo as a submodule, in lieu of the in-tree scripts being used.
The idea is to have a uniform code style across avocado and other projects such as avocado-vt and autils.