~/talk

Deadcode – a Tool to Find and Fix Unused (Dead) Python Code

slides:none on file

Built a new Python tool called deadcode that finds more kinds of unused code than vulture or ruff, including unused methods, attributes and empty .py files, and it can automatically remove them. Behavior tuning works by name, inheritance or decorator rules so common framework attributes aren’t false positives. Detection uses dot‑separated paths (falling back to vulture’s AST set strategy when uncertain). CLI supports --fix and --dry to preview changes; an example run reports seven removed items after applying fixes.

AI-written summary · about

  1. 0:00Introduction to Deadcode
  2. 1:08What is dead code
  3. 2:55Limitations of existing tools
  4. 6:29Creating Deadcode tool
  5. 8:02Key features of Deadcode
  6. 12:48Using Deadcode package
  7. 15:03Comparison of detection strategies
  8. 19:34Conclusion and call to action
~/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.