fix: resouce leak in translate_with_setter
by deleting the offending code
#2438
ruff.yaml
on: pull_request
ruff-format
4s
ruff-check
9s