Modify ↓
Opened 15 years ago
Closed 7 years ago
#6917 closed defect (fixed)
Tabs and regular spaces? Really?
Reported by: | Adam Bellaire | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | low | Component: | GoogleChartPlugin |
Severity: | minor | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
The source code mixes tabs and spaces in charting.py. Specifically, the indentation level appears to be 4 spaces, but where the indentation is at least a multiple of 8, tabs are used first, and then spaces to do a "half-tab". This mixing is horrible on others trying to read and patch your code, or at least it was for me. Please switch to either all tabs or all spaces.
See PEP 8 -- Style Guide for Python Code, specifically the following:
Tabs or Spaces?
Never mix tabs and spaces.
Attachments (0)
Change History (3)
comment:1 Changed 15 years ago by
comment:2 Changed 7 years ago by
Owner: | changed from Martin Aspeli to Ryan J Ollos |
---|---|
Status: | new → accepted |
Note: See
TracTickets for help on using
tickets.
I no longer maintain this plugin. It's open source, though, do with what you wish.