pep8 compliance and dRHT ntheta computation