python3-connect-rest-sample icon indicating copy to clipboard operation
python3-connect-rest-sample copied to clipboard

Indenting is inconsistent

Open eduvik opened this issue 9 years ago • 2 comments

Lots of tabs in the code, then places where there are 2 spaces for the indent. Convention (PEP8) is to use 4 spaces, and never tabs.

eduvik avatar Apr 07 '17 00:04 eduvik

Thanks for the feedback. Disregard the comment that I made to the issue you opened on the SDK. I had thought that you were commenting on this sample but now realize you were commenting on the sample code that is in the SDK's repo.

Please feel free to comment on any other areas where this sample could be more idiomatically Pythonic.

jamescro avatar Apr 07 '17 16:04 jamescro

I went through this with pylinter and updated the spacing in the files to be more consistent with idiomatic Python. Thanks for filing this issue.

jamescro avatar Apr 10 '17 22:04 jamescro