Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #38698
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2013-02-11 08:39 -0800 |
| Message-ID | <a93bb384-ac71-4223-896b-6d47e592abcf@googlegroups.com> (permalink) |
| Subject | PyDev, pep8.py conflict on spaces around negative numbers |
| From | Wanderer <wanderer@dialup4less.com> |
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. Pep8.py 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?
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
PyDev, pep8.py conflict on spaces around negative numbers Wanderer <wanderer@dialup4less.com> - 2013-02-11 08:39 -0800
Re: PyDev, pep8.py conflict on spaces around negative numbers MRAB <python@mrabarnett.plus.com> - 2013-02-11 18:09 +0000
Re: PyDev, pep8.py conflict on spaces around negative numbers Wanderer <wanderer@dialup4less.com> - 2013-02-11 10:56 -0800
Re: PyDev, pep8.py conflict on spaces around negative numbers Wanderer <wanderer@dialup4less.com> - 2013-02-11 10:56 -0800
csiph-web