Fixed codespell check if it returned some warnings or not.