Skip to content

Subcommands don't output in color (don't think they are connected to a TTY?) #440

@ashb

Description

@ashb

Using prek as my daily driver for Airflow I noticed a difference between prek and pre-commit:

Pre-commit:

Image

Prek:

Image

The two major differences

  • 1) No color in the output from ruff check
  • 2) The "All checks passed!" from the subcommands/way we parallelize it.

On 2, I like the ability to see the full output some of the time, but it does make the error more confusing to find, so maybe that should only be shown when -vv or something is given?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions