7. pycodestyle, pyflakes, pylint,
pychecker, etc.
● No global found
● Passing the wrong number of parameters
● Using format strings that don't match arguments
● Using a variable before setting it
● self is not the first parameter defined for a method
● Unused function/method arguments (can ignore self)
● No doc strings in modules, classes, functions
● ...
7
12. Environments
● Develop in env that is as close as possible to production
one
● Test in all possible envs that your app might run
● Select your favourite IDE and use it)
12
13. Testing
● Test what's likely to break
● Test negative cases and edge cases
● If writing tests is hard, that might be a bug
● Aggressively make your test suite fast and reliable
● Run it automatically
13
14. Flaky???
● If it’s flaky it’s not a test*
● Stop calling your build flaky*
*If I was in my office I would bite my tongue
14
35. ecap
● Play stupid
● If you don’t try, you’ll never know
● Save your energy for something better than
programming work
● Consider and reason
● …
● ???
● PROFIT!
35