~/talk

Fixing legacy code, one pull request at a time

Talkat PyCon US 2023 · 2023-04-19..04-27· [developer-experience, testing]
links:none on file
slides:none on file

Modernize a tiny Flask Pokedex by onboarding SonarCloud, running SonarCloud automatic analysis then switching to CI-based Sonar scan with GitHub Actions to import coverage; the process flags concrete bugs and vulnerabilities like SQL injection and reflected XSS, shows new-code coverage percentages, and attaches issues to the pull request. SonarLint connects to sync rules and silence decisions. The demo builds and runs the CI scan, computes coverage XML, and demonstrates one-at-a-time cleanup without a huge upfront rewrite.

AI-written summary · about

  1. 0:00Start
  2. 3:10Prerequisites
  3. 4:24Static analysis
  4. 9:55Flask app: Pokedex
  5. 46:25Conclusion
~/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.