Actually I used pep8 package from pip. Which tool do you use? I didn't get errors like that.