Am 01.04.2009 um 23:44 schrieb Jacob Holm:
> Hi Baiju
>
> If this whitespace fix is based on the current style guide, I think
> the
> guide needs to be fixed. I find the fixed version much less
> readable. A
> function that takes this many arguments should have an exception to
> the
> PEP 8 rule of no whitespace around the equals sign used for keyword
> arguments. I *think* a reasonable rule is that if you split the call
> over multiple lines with one argument per line, you should add single
> spaces before and after the equals sign. What does anyone else think?
What about defining the version number in front of the setup call as a
variable and using it in the call like:
version = '3.5.0dev'
setup(
name='zope.annotation',
version=version,
...
)
This way no exception from the rule is necessary.
Yours sincerely,
--
Michael Howitz · [email protected] · software developer
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1
Zope and Plone consulting and development
_______________________________________________
Zope-Dev maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )