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