Marlin – Salish Sea NEMO svn-hg Maintenance Tool If you are looking for examples of the coding style preferred in Salish Sea project modules, See Python Source Code Checking via Flake8 for details of how to set that up for emacs. Installing the flake8 static analysis tool and enabling your editor to use it to highlight problem code will help you to write well-styled code. the SalishSeaTools Package and the SalishSeaNowcast Package.Ī primary guide for writing Python code is PEP 8 – Style Guide for Python Code. Some of the points are particularly relevant to code going into modules in the tools Į.g. While much of what follows is applicable to any Python code that you may write, Maintainable Python code that your future self and other people will be able to use, The notes in this section are about writing readable, Guidelines and Best Practices for Writing Library Code ¶
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |