PyDev, conflict on spaces around negative numbers

Wanderer wanderer at
Mon Feb 11 17:39:32 CET 2013

If I check the 'Use space before and after operators? (+, -, /, *, //, **, etc.)' in the Eclipse>PyDev>Editor>Code Style> Code Formatter, PyDev will insert a space before a negative number in a keyword parameter declaration. will then post a warning 'E251 no spaces around keyword / parameter equals'.

For example:
foo(bar= -25)

So which is right? Should there be a space before a negative number?

More information about the Python-list mailing list