-
Notifications
You must be signed in to change notification settings - Fork 4
Code Guidelines
Phil Brodrick edited this page Jan 27, 2022
·
1 revision
Code should adhere to the JPL Institution C coding standard (for C/C++ code) and PEP 8 (for Python code).
Pylint and coverity will be used for python and c/c++ static analysis, and code coverage will be assessed with gcov and coverage.py (c/c++ and python respectively).
Unit tests will be built to assess functional operation, range checking, and default action for unhandled cases.
Both standards adherence (static analysis) and unit tests will be enforced through repeat testing during the commit process (forthcoming - not yet implemented).
Python functions will be documented in accordance to the google python styleguide (Section 3.8)