After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 318833 - HACKING file encourages use of tabs for indentation in Python code
HACKING file encourages use of tabs for indentation in Python code
Status: RESOLVED FIXED
Product: dogtail
Classification: Deprecated
Component: Framework
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Dogtail Maintainers
Dogtail Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-14 04:20 UTC by James Henstridge
Modified: 2006-04-05 00:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description James Henstridge 2005-10-14 04:20:40 UTC
The HACKING file contains the following line:

  We use tabs rather than spaces in the Dogtail python sources

The Python style guide (PEP-8) recommends using spaces for indentation rather
than tabs (especially for new code).  Using spaces also makes it easier to share
code with other Python projects.
Comment 1 Alex Roitman 2005-11-10 23:36:04 UTC
I am completely agreeing with the submitter here. The whole python world uses
spaces, so re-adjusting from 4-space to tabs and back is tough.
Please-please-please change the style.
Comment 2 Dave Malcolm 2005-11-11 00:04:01 UTC
I agree with the reporter here.
Comment 3 Zack Cerza 2006-04-05 00:15:24 UTC
Fixed in HEAD.