Tell PDM to ignore the project in the parent directory? #3048
Closed
uninstall-your-browser
started this conversation in
General
Replies: 2 comments 2 replies
-
What is interfering? if the script has metadata an dedicated environment will be created for that script no matter whether it is inside a project. |
Beta Was this translation helpful? Give feedback.
0 replies
-
It's raising an error and I can't run any commands
Coming from this line in my pyproject.toml
Actually it looks like poetry and pdm work fine without the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I realise this might be a strange request -
Is there a way to get PDM to ignore the project in the parent directory? I have a script that is unrelated to the core code in my project (it is just a file updater) and I find PDM's single-file-script-metadata feature useful for running it, but I am using poetry in the parent project and it is interfering with PDM. Is there a way to get PDM to ignore the parent project and run the script like it was not in a project directory?
I'm not sure if you intended for that feature to be used like this 😅
Beta Was this translation helpful? Give feedback.
All reactions