..

Code Quality

Code Quality

Coding style

Testing

  • Unit test and system test
    • Unit test is efficient
    • System test is thorough
  • Test tools
    • Unit test for Python
      • https://docs.python.org/3/library/unittest.html
      • https://docs.python.org/3/library/unittest.mock.htmlP

Pull Request (PR)

You can find detail guidance (https://google.github.io/eng-practices/). We summarize three items in the following.

  • Submit a complete PR (Tested code with tests)
  • Clear description (“Fix bug” is an inadequate CL description. What bug? What did you do to fix it? )
  • One PR one task
  • Examples: