You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 theusethis tool
subcommand set.The text was updated successfully, but these errors were encountered: