mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
README.Coding: Mention that PEP8 is the standard for Python code.
Almost all of our existing code is PEP8, and virtually every other free software project in Python uses PEP8.
This commit is contained in:
parent
f10f6eff39
commit
25054a3071
@ -16,11 +16,15 @@ style should never outweigh coding itself and so the guidelines
|
||||
described here are hopefully easy enough to follow as they are very
|
||||
common and supported by tools and editors.
|
||||
|
||||
The basic style, also mentioned in prog_guide4.txt, is the Linux kernel
|
||||
The basic style for C code, also mentioned in prog_guide4.txt, is the Linux kernel
|
||||
coding style (See Documentation/CodingStyle in the kernel source tree). This
|
||||
closely matches what most Samba developers use already anyways, with a few
|
||||
exceptions as mentioned below.
|
||||
|
||||
The coding style for Python code is documented in PEP8, http://www.python.org/pep/pep8.
|
||||
If you have ever worked on another free software python project, you are probably
|
||||
already familiar with it.
|
||||
|
||||
But to save you the trouble of reading the Linux kernel style guide, here
|
||||
are the highlights.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user