correctly disable expected pylint warning