Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issue setting max line length for PEP8 in Eclipse

I am using Eclipse Juno on an Ubuntu x64 machine.

I would like to change the default max line length for the PyDev's PEP8, but I can't!

I go to Window/Preferences/PyDev/Editor/Code Analysis/pep8.py and set the following arguments:

--max-line-length=100

What I am doing wrong? After setting this, I have done a code analysis but then the line length seems to be ignored and I don't want this.

like image 277
Caumons Avatar asked Mar 17 '13 12:03

Caumons


1 Answers

The current Pydev has a pep8.py that can set the --max-line-length parameter. You can just go to

Window → Preferences → Pydev → Editor → Code Analysis → pep8.py

and set Arguments to:

--max-line-length=99
like image 88
Sebastian Wiesinger Avatar answered Oct 15 '22 07:10

Sebastian Wiesinger