HACKING 960 B

1234567891011121314151617181920212223242526
  1. Coding style
  2. ------------
  3. Where possible, please follow PEP8 with regard to coding style.
  4. Furthermore, triple-quotes should always be """, single quotes are ' unless
  5. using " would result in less escaping within the string.
  6. All functionality should be available in pure Python. Optional C
  7. implementations may be written for performance reasons, but should never
  8. replace the Python implementation. The C implementations should follow the
  9. kernel/git coding style.
  10. Where possible please include updates to NEWS along with your improvements.
  11. Running the tests
  12. -----------------
  13. To run the testsuite, you should be able to simply run "make check". This
  14. will run the tests using unittest on Python 2.7 and higher, and using
  15. unittest2 (which you will need to have installed) on older versions of Python.
  16. $ make check
  17. Alternatively, if you have testtools installed you can run the testsuite by
  18. overriding the test runner:
  19. $ make check TESTRUNNER=testtools.run