Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce proper formatting on python ,bash and yaml files (kubeflow#…
…2774) * Add balck github action to format python files Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Formatted python files from the balck formatter Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Add github action to format yaml files Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Add step YAML Formatting Guidelines to yaml_formatter.yaml file Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * made chnages to run next steps although the previous step fail Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * switch steps Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * added shellCheck for bash formatting Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Changed code only to lint yaml files inside the common and example folder Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Changed main to master Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Run yamllint on files which is chnaged in PR only Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Changed 'Proper formatting on python files' github workflow only to run for python files in common and example folder Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Add shellcheckrc file Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Disable SC1017,SC2086,SC2070 rules when shellcheck and did changes in sh files to address the formattings according to shellcheck Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * made chnages in sh files Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * made chnages in sh files to address formattings Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * made chnages in sh files Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * disable SC2046 rule Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * disable SC2006 and SC2155 rule Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Change shellcheck only to run for PR chnaged files Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Address a issue with bash_formatter.yaml Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Changed origin/main to origin/master Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Formatted python files from the balck formatter Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Add github action to format yaml files Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Add step YAML Formatting Guidelines to yaml_formatter.yaml file Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * made chnages to run next steps although the previous step fail Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * switch steps Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Add shellcheckrc file Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Disable SC1017,SC2086,SC2070 rules when shellcheck and did changes in sh files to address the formattings according to shellcheck Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * made chnages in sh files Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Change shellcheck only to run for PR chnaged files Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Ensure the full history is fetched Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Ensure the full history is fetched in bash_formatter Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * fix SC2148 (error) Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * remove commented lines in bash_formatter.yaml Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * remove formatting chnages done to app folder content Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Add guidlines to how to format python files according to black formatter Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> * Add guidlines to how to format bash files according to shellcheck formatter Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> --------- Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
- Loading branch information