forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate code format to civ02 (ray-project#38195)
Migrate code format lint to civ02. This will make this lint become blocking. Signed-off-by: can <[email protected]>
- Loading branch information
1 parent
0416259
commit 2cfbc27
Showing
6 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
group: lint | ||
steps: | ||
- label: "clang-format" | ||
- label: "lint: clang format" | ||
commands: | ||
- pip install -c python/requirements_compiled.txt clang-format | ||
- ./ci/lint/check-git-clang-format-output.sh | ||
depends_on: forge | ||
|
||
- label: "lint: code format" | ||
commands: | ||
- pip install -c python/requirements_compiled.txt -r python/requirements/lint-requirements.txt | ||
- FORMAT_SH_PRINT_DIFF=1 ./ci/lint/format.sh --all-scripts | ||
depends_on: forge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters