Skip to content

Include a --no-pre-commit flag for all tools #590

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nathanjmcdougall opened this issue Apr 27, 2025 · 0 comments
Open

Include a --no-pre-commit flag for all tools #590

nathanjmcdougall opened this issue Apr 27, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@nathanjmcdougall
Copy link
Owner

Motivation
Not all tools use pre-commit, but it makes sense to keep the interface consistent.

Basically in some cases we might not want to add a tool as a pre-commit, even though it's possible. So we can add this flag to basically treat pre-commit as being unused for the purposes of adding the tool.

If removing the tool, then --no-pre-commit can ignore the pre-commit configuration and not remove from that.

Summary of desired enhancement
Include a --no-pre-commit flag for all tools in the usethis tool subcommand set.

@nathanjmcdougall nathanjmcdougall added the enhancement New feature or request label Apr 27, 2025
@nathanjmcdougall nathanjmcdougall self-assigned this Apr 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant