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
See #7069 -- we might like to speed up the pre-commit hook by making it only work on staged files, but there's not currently a way to filter down to files in between targets. Introducing a global option which tasks such as python checkstyle could use to filter the input files they pass into a subprocess could be an easy way to speed up a variety of tasks.
The text was updated successfully, but these errors were encountered:
Thinking about your comment, I think it is probably very doable to add this in target_restriction_mixins.py alongside SkipAndTransitiveGoalOptionsMixin, for checkstyle tasks (as they wish). I agree that a global option doesn't really make sense.
See #7069 -- we might like to speed up the pre-commit hook by making it only work on staged files, but there's not currently a way to filter down to files in between targets. Introducing a global option which tasks such as python checkstyle could use to filter the input files they pass into a subprocess could be an easy way to speed up a variety of tasks.
The text was updated successfully, but these errors were encountered: