nevinera / quiet_quality

A system for finding and annotating quality issues on your forward diffs
MIT License
12 stars 0 forks source link

Extract a component to simplify runner argument construction #81

Closed nevinera closed 1 year ago

nevinera commented 1 year ago

The runners all share the bulk of their logic - extract the changed files, filter them by a matcher of some sort, filter them by the file_filter regex, determine whether to skip execution based on the presence of relevant files, etc.

We can extract a class to pull out most of that logic, but it needs to be intuitive to use - we need it to be easy to build a new tool even if one is unfamiliar with the system.