BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//pretalx//programme.europython.eu//europython-2024//speaker//K8XYZ
 X
BEGIN:VTIMEZONE
TZID:CET
BEGIN:STANDARD
DTSTART:20001029T040000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
TZNAME:CET
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:20000326T030000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
TZNAME:CEST
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
UID:pretalx-europython-2024-LWSF9C@programme.europython.eu
DTSTART;TZID=CET:20240710T143500
DTEND;TZID=CET:20240710T150500
DESCRIPTION:No longer needed code creates technical debt if it is not remov
 ed from the code base. Unused code has to be maintained\, it complicates c
 ode base and increases cognitive load. It might even depend on no longer n
 ecessary dependencies with vulnerabilities and might increase attack surfa
 ce. Therefore\, removing dead code saves time\, money and reduces security
  risks.\n\nRecently\, Ruff has became a de facto linter\, which provides a
 lmost all existing linting rules from other linters. However\, it is only 
 capable to detect locally unused Python code\, which is only a tiny portio
 n of unused code.\n\nVulture is the best known tool for detecting globally
  unused Python code. However\, its configuration is not very flexible and 
 disabling false positives in a larger code base might require a lot of eff
 ort.\nAlso\, unused code detection is sometimes inaccurate\, because scope
 s are not taken into account\, when detecting unused code. \n\nThis presen
 tation introduces a new Python package called `deadcode`\, which tries to 
 move globally unused Python code detection to the next level. First\, it p
 rovides a large set of options to flexibly disable various types of false 
 positives. Second\, deadcode implements more rules for detecting unused co
 de than Vulture. Third\, an improved strategy which tracks scopes and name
 spaces into account is being used to \nmore accurately identify unused cod
 e items. Fourth\, a --fix option is provided\, which allows to automatical
 ly remove detected unused code items.\n\nIn addition\, an idea to prune Py
 thon code in order to reduce its size will be consider\, which might be re
 levant when serving Python code in a browser.\n\nLets make Python ecosyste
 m even more awesome!
DTSTAMP:20260518T130755Z
LOCATION:South Hall 2A
SUMMARY:Deadcode - a tool to find and fix unused (dead) Python code - Alber
 tas Gimbutas
URL:https://programme.europython.eu/europython-2024/talk/LWSF9C/
END:VEVENT
END:VCALENDAR
