Skip to content

Add inline summaries in --write-changes mode #3663

@Jacobfaib

Description

@Jacobfaib

In regular mode codespell shows what changed:

foo.h:63: Creats ==> Creates

but with -w you only see

FIXED: foo.h

It would be nice if we could also see inline what changes were made:

FIXED: foo.h Creats==>Creates

There is the --summary option, but that doesn't play nice when codespell is run in parallel (such as through pre-commmit), because multiple summaries are printed:

FIXED: foo.h
FIXED: bar.h

-------8<-------
SUMMARY:
creats        1

...
FIXED: baz.h

-------8<-------
SUMMARY:
aswdasd        1

(note that the summaries are also jumbled as processes finish, not all at the bottom)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions