kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #30285
Re: Python script offered as example for Action Plugin and wxFormBuilder integration
On 8/12/2017 1:05 PM, Simon Küppers wrote:
> I wrote a developer Documentation Page on Python scripting for kicad, i
> think the information is best written down there.
I have no objections to this. I could just as easily be added to the
coding policy in a separate section for Python scripting.
>
> Am 12. August 2017 18:42:05 MESZ schrieb Adam Wolf
> <adamwolf@xxxxxxxxxxxxxxxxxxxx>:
>
> Sure. I was actually in the audience for that talk :) IIRC, the
> biggest takeaway is that sometimes there are exceptions, especially
> for highly idiomatic code, and also that the 80 character original
> line length limit is silly today and something like 120 is more
> appropriate.
>
> If you have particular changes you'd like to suggest to PEP8 for
> Python style, let's discuss them. On the other hand, we have no
> automatic code rejection because of style--it's all human enforced at
> this point, which means those exceptions for highly idiomatic code,
> when commented and explained to the committer, already get through.
>
> Adam Wolf
>
> On Sat, Aug 12, 2017 at 11:30 AM, Kevin Cozens <kevin@xxxxxxxxx> wrote:
>
> On 2017-08-12 11:43 AM, Adam Wolf wrote:
>
>
> I think PEP8 is great for us. Let's just add a line that
> says "We use
> PEP8 as our Python style guide."
>
>
>
> Before you get too deep in to following PEP8 you might want to
> watch the
> video of a talk given by Raymond Hettinger (a core Python
> programmer) at
> PyCon 2015. The talk is called Beyond "PEP 8 -- Best practices
> for beautiful
> intelligible code" and can be seen at:
> https://www.youtube.com/watch?v=wf-BqAjZb8M
>
> --
> Cheers!
>
> Kevin.
>
> http://www.ve3syb.ca/ |"Nerds make the shiny things that distract
> Owner of Elecraft K2 #2172 | the mouth-breathers, and that's why
> we're
> | powerful!"
> #include <disclaimer/favourite> | --Chris Hardwick
>
>
> ------------------------------------------------------------------------
>
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
>
> ------------------------------------------------------------------------
>
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
References