Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=5866954 By: fabioz
That seems like a PyLint warning... you can disable it by passing the correct parameters to PyLint (in window > preferences > pydev > pylint) -- check the pylint manual: http://www.logilab.org/card/pylint_manual to see the command line to be passed (or maybe even enabling 2 spaces). Note that currently the code-formatter doesn't really change the basic structure of your code (indentation, spaces for methods, classes...) nor comments (it deals mostly with spaces for parenthesis, commas, operators and some others, as it tries to keep most closely to your current code structure... although I'm starting to think about a second option which would actually change the code more -- but that probably won't happen very soon). You can try to use reindent.py to see if it does what you want (usually located in your python distribution at Python\Tools\Scripts\reindent.py). The most standard way of indenting is with 4 spaces (which is also recommended by PEP 8: http://www.python.org/dev/peps/pep-0008/ ) Cheers, Fabio ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 ------------------------------------------------------------------------------ _______________________________________________ Pydev-users mailing list Pydev-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pydev-users