-
Notifications
You must be signed in to change notification settings - Fork 73
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
Taskfiles: Rearrange task attributes to match latest style guide. #478
Conversation
It seem the attributes in task |
Strange. Only two errors were generated: core and package. |
Did you see any error when running the script? I see plenty here because some |
Here's the script fixed: Please take a look into these errors:
Also, as we discussed offline, please check https://github.com/y-scope/clp/blob/main/lint-tasks.yml as well.
|
@Henry8192 When you're done with this PR, please also submit another PR to update task attributes here:
|
Yeah I thought it was my script config error |
Co-authored-by: Junhao Liao <[email protected]>
Taskfile.xml
and lint-task.yml
.
Taskfile.xml
and lint-task.yml
.Taskfile.xml
and lint-task.yml
.
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
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.
For the PR title, how about:
Taskfiles: Rearrange task attributes to match latest style guide.
The current title implies there's an automated linter which might be a bit misleading.
Taskfile.xml
and lint-task.yml
.
Reference
We have a guideline at https://docs.yscope.com/dev-guide/contrib-guides-taskfiles.html#ordering-of-task-attributes for organizing task attributes in Taskfile.
Description
<clp-root>/Taskfile.yml
and<clp-root>/lint-task.yml
were not formatted properly.Validation performed
Run checker
lint-taskfile.py
and observed no format error.lint-taskfile.zip