On Thu, Jan 5, 2017 at 8:08 AM, Mark Atwood <fallenpega...@gmail.com> wrote:

>
> https://pypi.python.org/pypi/pep8
>
> pep8 is a tool to check your Python code against most of the style and
> formatting conventions in "PEP 8"


Hal,

PEP8 is for contributions to the core Python language.  It is not at all
required to be used in your source code, but rather than write a style
guide, it may be easier to use (or modify) it.

>From the PEP:

\quote

A style guide is about consistency. Consistency with this style guide is
important. Consistency within a project is more important. Consistency
within one module or function is the most important.

However, know when to be inconsistent -- sometimes style guide
recommendations just aren't applicable. When in doubt, use your best
judgment. Look at other examples and decide what looks best. And don't
hesitate to ask!
\unquote

-- 
Sanjeev Gupta
+65 98551208     http://www.linkedin.com/in/ghane
_______________________________________________
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to