Skip to content

Commit

Permalink
Try custom YAPF to avoid EOFError: Ran out of input issue from `pic…
Browse files Browse the repository at this point in the history
…kle.load(f)` (#3324)

10 successful runs:
https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/13077857969/job/36495895973.

The idea is to try using this version for a while. If the problem
definitely stops reproducing, I'll try to upstream this change.

The fix is in my fork:
anmyachev/yapf@970dc74

---------

Signed-off-by: Anatoly Myachev <[email protected]>
  • Loading branch information
anmyachev authored Jan 31, 2025
1 parent 3467f99 commit 395bfb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ repos:
^docs/conf.py$
)
- repo: https://github.com/google/yapf
rev: "v0.43.0"
- repo: https://github.com/anmyachev/yapf
rev: 970dc74
hooks:
- id: yapf
args: ["-p", "-i"]
Expand Down

0 comments on commit 395bfb0

Please sign in to comment.