Since you can define diff filter for placeholders it is necessary to have the same functionality for conditions to not get into a situation where the condition applies and the placeholder is empty.
Issue: #220
This pull request adds the filter functionality to all StagedFiles conditions for pre-commit hooks.
Since you can define diff filter for placeholders it is necessary to have the same functionality for conditions to not get into a situation where the condition applies and the placeholder is empty.
Issue: #220
This pull request adds the filter functionality to all
StagedFiles
conditions forpre-commit
hooks.