CodelyTV/pr-size-labeler

Add support to ignore whitespace-only changes?

SimonSchick opened this issue · 1 comments

Title says all, indent changes have usually very little relevance to complexity.

I agree and vote for this feature. But unfortunately it seems to require a rewrite of the complexity "calculation".
Currently it is only an API request to Github (code) and the used endpoint does not provide that data (documentation).
I also couldn't find one that does, and even the GitHub UI does not expose that information (to my knowledge).
So a manual git diff -w including a repo download would be likely necessary.