Fix pylint deprecated directive in check-header