adjust for newer pylints