Skip to content

print_how_to_use could give misleading message regarding pre-commit #802

@nathanjmcdougall

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.

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