Skip test coverage for files which had only code style updates

Hi team! is it possible to prevent somehow test coverage failures in situation when pull request had rubocop code style updates for example on old codebase which had no proper tests and testcoverage without logic change on this files to fail and requests to add tests for this files? maybe there are some configurations which can be added to trigger test coverage analyze with some percentage of original changes to file? please let me know and thanks in advance!