Since the `ty` pre-commit hook passes filenames to the `ty` CLI, it seems to ignore the [`exclude`](https://docs.astral.sh/ty/reference/configuration/#exclude_1) setting. See: https://github.com/ComPWA/report/actions/runs/22196686019/job/64198843026?pr=35