coldpass

Browse / Agent tools

asottile/add-trailing-comma

A tool (and pre-commit hook) to automatically add trailing commas to calls and literals.

    Works.Tested on 2026-10-27. From the README alone, on Linux with Haiku and Linux with Luna.

    Share card: asottile/add-trailing-comma works
    The card X shows when you post.Download

    What we checked

    Does it run from the README?Yes. Running in 1:33 on a clean Linux box.The run
    Does it do what the README says?3 of 3 claims held up.Evidence

    “adds trailing commas to function calls”

    Expected last argument gets a trailing comma. Got arg2,.

    “unhugs leading paren and adds trailing comma”

    Expected arguments are split onto their own lines with trailing comma. Got arg2,.

    “removes unnecessary trailing commas”

    Expected trailing comma removed from single-line list. Got [1, 2, 3].

    Which checks were skipped?1 check skipped.Reasons

    Skipped checks count as neither passes nor failures.

    Examples: 1 skipped

    • pre-commit hook usage: pre-commit needs to clone the repo from GitHub and install its own environment; not run in this guest. Ran the CLI hook entry directly instead via the claims above.
    Which setups did we try?Works with Haiku, Luna.Setups

    Linux / Haiku: works, Oct 27, rev 4aa2103. Linux / Luna: works, Oct 27, rev 4aa2103.

    Needs keys, a login or a browser?No.Details

    None seen

    Is it safe to run?No unexpected network or file activity found in these checksWhat we saw

    No problems traced to this repository code in these checks; a short run cannot prove safety.

    Reviewed as expected for a test run: attempted writes that failed, so nothing was written.

    Full event, path and process lists for each observed setup:

    A quiet run is not a safety guarantee.

    Is it maintained?Maintained · 10 commits in 90 days · 5 merged PRs in 90 days · 0 open issues · 0 open PRsActivity

    actively maintained: last commit 14 days ago; 10 commits and 5 merged PRs in 90 days; 0 open issues, 0 open PRs; 19 of 24 recent threads got a maintainer reply, median first reply 0.3h; no releases

    Recent commits on GitHub

    Can I show this on my README?Copy the badge.Badge
    ![coldpass](https://coldpass.dev/badge/asottile--add-trailing-comma.svg)

    The run

    Oct 27 · rev 4aa2103
    0:000:301:001:33

    Independent test, not endorsed by the project.