break apart style errors from style warnings in pre-commit hook