Skip to content

[2/N] Enable shellcheck and pymarkdown for lint system #1735

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

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

Potabk
Copy link
Contributor

@Potabk Potabk commented Jul 11, 2025

What this PR does / why we need it?

Step of #1241, in the pr,

  1. Enable the shellcheck check
  2. Enable pymarkdown check
  3. Add python __init__.py check
  4. Made corresponding clean code

Does this PR introduce any user-facing change?

How was this patch tested?

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jul 11, 2025
@Potabk Potabk force-pushed the ci_1 branch 2 times, most recently from 7fe24f7 to e6fa107 Compare July 14, 2025 01:15
@Potabk
Copy link
Contributor Author

Potabk commented Jul 14, 2025

@wangxiyuan @Yikun This is ready for review

printf "Concurrency %s, Rate %s: %s ms\n", $1, $2, $3
}' >> analysis_results.txt
}'
} > analysis_results.txt
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
} > analysis_results.txt
} >> analysis_results.txt

?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is for shellcheck warning, need compress multiple writes into one to avoid opening files repeatedly

@@ -21,7 +21,7 @@

set -e

scversion="stable"
scversion="v0.10.0"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okey

@Potabk
Copy link
Contributor Author

Potabk commented Jul 14, 2025

ci break for upstream change, repairing

Copy link

codecov bot commented Jul 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.22%. Comparing base (f96100f) to head (a418785).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1735      +/-   ##
==========================================
+ Coverage   53.51%   54.22%   +0.71%     
==========================================
  Files          77       75       -2     
  Lines        9435     9244     -191     
==========================================
- Hits         5049     5013      -36     
+ Misses       4386     4231     -155     
Flag Coverage Δ
unittests 54.22% <ø> (+0.71%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Potabk
Copy link
Contributor Author

Potabk commented Jul 15, 2025

Should enable python init check after vllm-project/vllm#20908 merged

Potabk added 14 commits July 15, 2025 20:33
Signed-off-by: wangli <wangli858794774@gmail.com>
Signed-off-by: wangli <wangli858794774@gmail.com>
Signed-off-by: wangli <wangli858794774@gmail.com>
Signed-off-by: wangli <wangli858794774@gmail.com>
Signed-off-by: wangli <wangli858794774@gmail.com>
Signed-off-by: wangli <wangli858794774@gmail.com>
Signed-off-by: wangli <wangli858794774@gmail.com>
This reverts commit d1ac979ddc7e7df909fe8d5a22a11f0f252c7b6e.

Signed-off-by: wangli <wangli858794774@gmail.com>
Signed-off-by: wangli <wangli858794774@gmail.com>
Signed-off-by: wangli <wangli858794774@gmail.com>
Signed-off-by: wangli <wangli858794774@gmail.com>
Signed-off-by: wangli <wangli858794774@gmail.com>
Signed-off-by: wangli <wangli858794774@gmail.com>
Signed-off-by: wangli <wangli858794774@gmail.com>
Signed-off-by: wangli <wangli858794774@gmail.com>
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation merge-conflicts module:tests module:tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants