~/talk

Six QA Tools that will make your Python code better

Talkat PyCon AU 2023 · 2023-08-18..08-22· [testing, developer-experience, python]
links:none on file
slides:none on file

Case study applies six specific tools — Black iSort PyLint MyPy PyTest Coverage — to real AEMO code, showing concrete fixes: string-sorted numbers, trailing-comma tuple, and attribute-typo bugs get caught by formatting, linting, typing, tests and coverage. Code is refactored into entry/tests/data/behavior to enable pytest, and a policy enforces 100% coverage requirement before production. Project stats: 71,000 lines of production, 52,000 lines of tests (≈40%), and QA can consume ~45% of dev budget but yields reliably safer deployments.

AI-written summary · about

  1. 0:00Introduction
  2. 3:19Trivial bugs in Python
  3. 7:12Are you done?
  4. 7:55Six QA tools
  5. 8:16Sort cleans imports
  6. 8:59Black formatting
  7. 10:43Pylint catches errors and enforces standards
  8. 14:37Pylint for new coders
  9. 16:02MyPy static checks
  10. 17:08Pytest tests code
  11. 21:49Coverage improves tests
  12. 24:55100% coverage needed
  13. 26:40Definition of done
  14. 27:01Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.