Skip to content

print_how_to_use could give misleading message regarding pre-commit #802

Description

@nathanjmcdougall

Motivation
Say that a tool has been configured to not use pre-commit (e.g. via #590) but we would usually expect it to do so... we currently in our print_how_to_use function just assume that the pre-commit-based command would run successfully but that is not necessarily true.

Summary
We would need to actually check whether the tool is installed via the venv or via pre-commit to determine which message to show.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions