Update PEP 7. All C files should now use 4-space indents.
This commit is contained in:
parent
c7b80b5fbc
commit
bb0c95814a
|
@ -46,13 +46,7 @@ C dialect
|
||||||
|
|
||||||
Code lay-out
|
Code lay-out
|
||||||
|
|
||||||
- Use single-tab indents, where a tab is worth 8 spaces, in files
|
- Use 4-space indents and no tabs at all.
|
||||||
that already use tabs. In new source files, and the few files
|
|
||||||
that were created after this rule was introduced, use 4-space
|
|
||||||
indents and no tabs at all.
|
|
||||||
|
|
||||||
At some point, the whole codebase may be converted to use only
|
|
||||||
4-space indents.
|
|
||||||
|
|
||||||
- No line should be longer than 79 characters. If this and the
|
- No line should be longer than 79 characters. If this and the
|
||||||
previous rule together don't give you enough room to code, your
|
previous rule together don't give you enough room to code, your
|
||||||
|
|
Loading…
Reference in New Issue