Bartosz,

>    * Always follow PEP 8 the most you can. There are some times that
> we have technical impossibilities to follow PEP 8, but in the rest of
> the time you must.
>
> What technical impossibilites do we have? I don't see any.

Some times you need to make imports in other places than the beginning
of the script. As an example, you can take the umit script, which
launches the main Umit interface. There we need to make some setup to
catch exceptions and create the report prior to make imports of our
own code. Otherwise, if we make imports prior to this setup, we won't
catch any import time erros that could happen in our code ;-) This is
a technical limitation.

>    * If you have any doubt, take a look at the coding styles of the
> scripts inside umitCore and umitGUI modules.
>
> UMPA is developing under PEP-8 but convention is different than you
> can find in Umit. I think it's not a problem because UMPA is a bit
> independent project.

Unfortunatelly, UMPA needs to follow the Umit's Project guidelines as
well as every other project. This is a guideline for the Umit Project,
not only the Umit application. Also, we intend to integrate UMPA and
the Packet Manipulator with Umit, so that will turn to be concern even
to Umit app itself. But, don't get disparated yet :) With time, we can
manage to adapt the code. We don't have a rock written guideline yet,
so I think that some patterns will change even to the Umit app. Maybe,
if we decide, we could use part of your style, part of João's styles,
Francesco's style and so on. We need to discuss the best guidelines
yet.


Cheers!

-- 
Adriano Monteiro Marques

http://adriano-marques.blogspot.com
http://umit.sourceforge.net
[EMAIL PROTECTED]

"Don't stay in bed, unless you can make money in bed." - George Burns

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Umit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/umit-devel

Reply via email to