ComPWA / taplo-pre-commit

A pre-commit hook for Taplo, a TOML formatter written in Rust
https://github.com/tamasfe/taplo
9 stars 3 forks source link

Current hook fails in pre-commit ci #17

Closed corneliusroemer closed 1 month ago

corneliusroemer commented 1 month ago

What happened?

I added this pre-commit hook but it fails in CI (works locally):

CI: https://results.pre-commit.ci/run/github/1303538/1724027406.94fdN-hARwm4t7c9_BExrA

Relevant log output

build attempt 1...
    => timeout after 120s
    [INFO] Installing environment for https://github.com/ComPWA/mirrors-taplo.
    [INFO] Once installed this environment will be reused.
    [INFO] This may take a few minutes...
    Interrupted (^C): KeyboardInterrupt: 
    Check the log at /pc/pre-commit.log
build attempt 2...
    => timeout after 120s
    [INFO] Installing environment for https://github.com/ComPWA/mirrors-taplo.
    [INFO] Once installed this environment will be reused.
    [INFO] This may take a few minutes...
    Interrupted (^C): KeyboardInterrupt: 
    Check the log at /pc/pre-commit.log

Is it possible to reproduce the bug with a small code snippet?

No response

Additional steps to reproduce the bug

No response

Which Python version were you using?

None

Python dependencies

No response

redeboer commented 1 month ago

Hi, thanks for your interest! This will have to be fixed upstream. There is a PR there that addresses this, please voice your interest there to get it merged: https://github.com/tamasfe/taplo/pull/549.