Is there a way to use the official uv pre-commit hooks in a monorepo with multiple interdependent apps/libraries wired via [tool.uv.sources], but without using uv workspaces?
I saw an example in the README.md showing a hardcoded subdirectory path, but doing this for every project in a growing monorepo could become cumbersome.
From reading the docs, the pre-commit integration appears to assume either a single project or a workspace. In our setup we intentionally do not use workspaces (as suggested under “When not to use workspaces”), and rely on [tool.uv.sources] to link local packages.
Thanks in advance!