lannymac / pyshp

Automatically exported from code.google.com/p/pyshp
MIT License
0 stars 0 forks source link

Indentation errors, whitespace, spelling #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Checking syntax of files using (e.g. in the Python3 directory):
> python -c "import shapefile3"

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "shapefile3.py", line 772
    def __init__(self, shapefile=None, shapeType=POINT, autoBalance=1):
                                                                      ^

I've fixed up the indentation to consistently use tabs. I've also removed any 
extra whitespace and the end of lines, and corrected some spelling mistakes.

Original issue reported on code.google.com by mwto...@gmail.com on 5 Mar 2011 at 7:29

Attachments:

GoogleCodeExporter commented 9 years ago
The python community has settled on 4 spaces for indentation which is detailed 
in pep8 at http://www.python.org/dev/peps/pep-0008/

Any chance we could change to the more common 4 spaces instead of tabs?

Original comment by memedo...@gmail.com on 11 Sep 2011 at 2:07

GoogleCodeExporter commented 9 years ago

Original comment by geospati...@gmail.com on 11 Sep 2011 at 10:34

GoogleCodeExporter commented 9 years ago
4 spaces is used now throughout.

Original comment by jlawh...@geospatialpython.com on 27 Sep 2011 at 2:16