You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
Poetry version: 1.2.0-rc2
Issue
We are setting up the new pre-commit checks for our project. Our Python source code lives in a subfolder inside the main repo. The full path to pyproject.toml is <repo>/backend/src/pyproject.toml. The poetry checks fail because they can't find pyproject.toml in the root directory.
The pre-commit project does not support changing the working directory for hooks and will not add support. See pre-commit/pre-commit#1110 (comment)
pre-commit hooks can be configured to pass a matching filename argument, but poetry does not have a way to operate on anything but the current working directory.
The text was updated successfully, but these errors were encountered:
-vvv
option).Issue
We are setting up the new pre-commit checks for our project. Our Python source code lives in a subfolder inside the main repo. The full path to pyproject.toml is
<repo>/backend/src/pyproject.toml
. The poetry checks fail because they can't find pyproject.toml in the root directory.The pre-commit project does not support changing the working directory for hooks and will not add support. See pre-commit/pre-commit#1110 (comment)
pre-commit hooks can be configured to pass a matching filename argument, but poetry does not have a way to operate on anything but the current working directory.
The text was updated successfully, but these errors were encountered: