Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.71 KB

File metadata and controls

51 lines (33 loc) · 1.71 KB

Best Practices

https://janikarhunen.fi/three-steps-to-lint-python-3-6-in-sublime-text.html packaging.python.org KR Debugging talk TDD Percival https://www.youtube.com/watch?v=L4hOiGOKSxQ py.test https://www.youtube.com/watch?v=UPanUFVFfzY Sphinx https://www.youtube.com/watch?v=hM4I58TA72g https://github.com/PyLadiesBerlin/materials/tree/master/12_how_to_write_pythonic_code http://testandcode.com/ https://katyhuff.github.io/python-testing/ https://blog.jetbrains.com/idea/2017/08/code-smells-mutation/ https://codetrace.io/users/krother http://www.git-legit.org/ https://jacquesmattheij.com/the-no-true-programmer-fallacy

The classic book about software carpentry: The pragmatic programmer Coding standards

PEP8, the official Python style guide

pylint , tool to check coding standards Test suites

unittest, the standard Python test framework

py.test, an alternative framework that simplifies writing tests and allows for extension and customization of test experience

doctest, write tests inside of docstrings

pdb, the standard python debugger

cProfile, the batteries included Python profiler

timeit, built-in Python module to measure the execution time of small code parts

https://python.g-node.org/python-autumnschool-2010/_media/materials/software_carpentry_slides_v3.pdf

https://python.g-node.org/python-autumnschool-2010/

"The Clean Code Talks -- Unit Testing" http://www.youtube.com/watch?v=wEhu57pih5w&feature=channel

References

  • Nick Barnes. Publish your computer code: it is good enough. Nature 467, 2010, 753.
  • Rother, Rother, Puton, Potrzebowski, Wywial, Bujnicki.
  • Alyssa Goodman. Ten Simple Rules for the Care and Feeding of Scientific Data. PLOS CompBiol, 2014.
  • How science goes wrong, The Economist, 2013.