Make sure that you use PEP 8 coding style for your python codes. in different IDEs the coding style can be configured in the editor tool of project configurations. For example in pycharm you can follow the instructions of reformatting to pep 8 following this link
Use numpy docstring for your documentation, summaries and descriptions on the file. You can set the docstring in your IDE, pycharm setup is provided here.
The code sample provided here.
File names should follow the naming convention and spatial data requires to be in the geo-spatial_formatting.