0

I'm trying to use autopep8 in order to correct automatically pep errors. I passed this command using the anaconda cmd:

$ autopep8 --in-place --aggressive --aggressive machin.py

I got this error:

for name in dir():
                 ^
SyntaxError: unexpected EOF while parsing

The issue is that I don't have this error when launching the script. Is there a solution to this? Or is there another or better way to automatically correct pip errors using Python?

HSN
  • 23
  • 1
  • 5

0 Answers0