~/talk

Managing the code quality of your project. Leave the past behind: Focus on new code.

Talkat PyCon Italia 2023 · 2023-05-25..05-28· [developer-experience]
links:none on file
slides:none on file

If a linter on a 20k‑line FlaskBB clone spits ~1,800 Pylint messages and coverage is 44%, the recommended approach is to measure quality only on recent changes: run Pylint in CI against git diff, or use tools that filter to changed lines so new PRs show only relevant issues. The clean as you code method plus a GitHub Action plus Darker or a SonarCloud report reduces noise (the quicksort PR shows three fixes) and yields actionable new‑code coverage (about 75.9% here) rather than global metrics.

AI-written summary · about

  1. 0:00Introduction
  2. 0:36Agenda
  3. 1:35What is static analysis
  4. 2:17Why static analysis is useful
  5. 3:04Example project
  6. 3:32Code quality tool
  7. 5:00Traditional approach
  8. 7:00Limitations
  9. 10:12Pull requests
  10. 13:21Clean as you code methodology
  11. 14:05Recap
  12. 16:16Darker
  13. 20:57Forget the old code
  14. 22:45Summary
  15. 23:28Questions
~/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.