Gentoo Archives: gentoo-portage-dev

From: Alexander Berntsen <bernalex@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] [PATCH] DEVELOPING: Be more specific about tabs/spaces
Date: Fri, 28 Mar 2014 08:50:13
Message-Id: 1395996604-24813-1-git-send-email-bernalex@gentoo.org
In Reply to: [gentoo-portage-dev] Indentation level by Alexander Berntsen
1 ---
2 Following a chat with Brian, here's my suggestion. ACK or object.
3
4 DEVELOPING | 7 +++----
5 1 file changed, 3 insertions(+), 4 deletions(-)
6
7 diff --git a/DEVELOPING b/DEVELOPING
8 index b2b0a19..f8ccc20 100644
9 --- a/DEVELOPING
10 +++ b/DEVELOPING
11 @@ -23,10 +23,9 @@ with Python itself, must be optionally enabled by run-time detection.
12 Tabs
13 ----
14
15 -The current code uses tabs, not spaces. Keep whitespace usage
16 -consistent between files. New files should use tabs. Space is
17 -sometimes used for indentation in Python code. Tab stop should for this
18 -reason be set to 4.
19 +For legacy reasons, all leading whitespace should be tabs. All internal
20 +whitespace should be regular spaces. Set tab stop to 4 for viewing
21 +consistency across the development team.
22
23 Line-Wrapping
24 -------------
25 --
26 1.8.3.2