1 |
commit: 7ea26b6e8e02b851a074211f1c02f09395a023ee |
2 |
Author: Alexander Berntsen <bernalex <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 28 08:48:49 2014 +0000 |
4 |
Commit: Alexander Berntsen <bernalex <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 30 00:20:41 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=7ea26b6e |
7 |
|
8 |
DEVELOPING: Be more specific about tabs/spaces |
9 |
|
10 |
--- |
11 |
DEVELOPING | 7 +++---- |
12 |
1 file changed, 3 insertions(+), 4 deletions(-) |
13 |
|
14 |
diff --git a/DEVELOPING b/DEVELOPING |
15 |
index cfa86a6..bcff318 100644 |
16 |
--- a/DEVELOPING |
17 |
+++ b/DEVELOPING |
18 |
@@ -23,10 +23,9 @@ with Python itself, must be optionally enabled by run-time detection. |
19 |
Tabs |
20 |
---- |
21 |
|
22 |
-The current code uses tabs, not spaces. Keep whitespace usage |
23 |
-consistent between files. New files should use tabs. Space is |
24 |
-sometimes used for indentation in Python code. Tab stop should for this |
25 |
-reason be set to 4. |
26 |
+For legacy reasons, all leading whitespace should be tabs. All internal |
27 |
+whitespace should be regular spaces. Set tab stop to 4 to calculate line |
28 |
+width. |
29 |
|
30 |
Line-Wrapping |
31 |
------------- |