I'd recommend installing a linter in your favorite editor/IDE to serve as a
guide on how to format your code. For PEP8 and the line breakings you
mention I'm using "flake8". I use that in Sublime Text and I highly
recommend it for anyone writing Python. Flake8 is available in most
advanced editors where you would typically write Python code.

I figured I'd also mention that PEP8 says you should only use camelCase "in
contexts where that's already the prevailing style". And by that I do not
mean to bash anyone's coding style, but if you were under my code review, I
would kindly ask you to fix it ;)

Cheers!

Den tis 12 juli 2016 08:55yann19 <[email protected]> skrev:

> Hi Geordie, the reason why this come was not using pyqt, first it was not
> done by me and I am trying to keep the code as original as possible since I
> would not want to mess it up.
>
> Truth be told, rather than saying I am not a fan of _underscore_variable,
> like what you have mentioned, I am still very much in scripting and hence I
> have been creating some new functions in camel case since I am used to that
> and easier to type but those will soon be changed to pep8 for such as
> variable_name
>
> Have just modified the code to use the long names for easier clarification
> but that simply means making my lines longer which is not part of pep8
> style and as mentioned in my reply to Justin, currently I am having
> troubles 'breaking' the lines up, not doc strings
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/815d97df-9832-4480-ab07-f85e2c8e77af%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAD%3DwhWMCMdK%2BBxG9WZwtBNvvwqQNXoYwM3PMo0mLCLgfhWyCaA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to