Skip to content

Commit

Permalink
[CI] Remove a workaround for yapf issue (triton-lang#5129)
Browse files Browse the repository at this point in the history
The issue has been fixed and pre-commit configuration has been updated
to use a newer yapf version, so the workaround is no longer required.
  • Loading branch information
pbchekin authored Nov 12, 2024
1 parent 9d6736a commit 126d546
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,6 @@ jobs:
- name: Check pre-commit
run: |
python3 -m pip install --upgrade pre-commit
# TODO: ignore the first yapf failure until https://github.com/google/yapf/issues/1164 is fixed
python3 -m pre_commit run --all-files --verbose yapf &> /dev/null || true
# If first run of yapf worked and made changes reset the tree to the original state
git reset --hard
python3 -m pre_commit run --all-files --verbose
- name: Print diff of changes if pre-commit failed
if: failure()
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/integration-tests.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,6 @@ jobs:
- name: Check pre-commit
run: |
python3 -m pip install --upgrade pre-commit
# TODO: ignore the first yapf failure until https://github.com/google/yapf/issues/1164 is fixed
python3 -m pre_commit run --all-files --verbose yapf &> /dev/null || true
# If first run of yapf worked and made changes reset the tree to the original state
git reset --hard
python3 -m pre_commit run --all-files --verbose

- name: Print diff of changes if pre-commit failed
Expand Down

0 comments on commit 126d546

Please sign in to comment.