~/talk

Preventing headaches with linters and automated checks

Talkat DjangoCon US 2017 · 2017-08-13..08-18· [developer-experience, testing]
slides:none on file

Claims linters do more than PEP8: they consolidate executable knowledge so framework quirks become automated checks. Demonstrated tools include Django System check framework, flake8/pyflakes, pylint with astroid-powered inference, bandit and safety; pre-commit hooks and CI enforce them. Built examples actually work: a custom system check rejects non-callable ArrayField defaults and an AST/astroid rule finds missing returns after queryset calls. Dozens of linters exist and the demos run successfully.

AI-written summary · about

  1. 0:00Intro
  2. 3:16Common linter mistakes
  3. 4:06Can linters prevent bad patterns
  4. 6:31System checks
  5. 8:07Dynamic analysis
  6. 8:57Dynamic checks
  7. 10:55Static analysis
  8. 18:18New linter
  9. 19:18Asteroid
  10. 21:36MyPI
  11. 23:00When to run
~/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.