You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I modify the code to align with YAPF’s reformatting suggestions, format.sh then reverts the changes.
If I just agreed with yapf and push code ruff failed at
Run isort . --check-only
ERROR: /home/runner/work/vllm/vllm/tests/models/decoder_only/vision_language/vlm_utils/model_utils.py Imports are incorrectly sorted and/or formatted.
Skipped 1 files
Error: Process completed with exit code 1.
Looks like isort and yapf are fighting over the import format.
Before submitting a new issue...
Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.
The text was updated successfully, but these errors were encountered:
cooleel
changed the title
[Bug]: Code formated by format.sh but failed yapf check in CI
[Bug]: Code formatted by format.sh but failed yapf check in CI
Oct 31, 2024
Your current environment
The output of `python collect_env.py`
Model Input Dumps
No response
🐛 Describe the bug
The code snippet was formatted using format.sh but failed the YAPF check in CI
https://github.com/cooleel/vllm/blob/5c2ed3305bc8d3c0caa831eb7e4c217d9c754639/tests/models/decoder_only/vision_language/vlm_utils/model_utils.py#L283-L284
The yapf error message is
If I modify the code to align with YAPF’s reformatting suggestions, format.sh then reverts the changes.
If I just agreed with yapf and push code ruff failed at
Looks like isort and yapf are fighting over the import format.
Before submitting a new issue...
The text was updated successfully, but these errors were encountered: