I finally managed to get Claude code using pdm more or less regularly, I’ll post the Claude.md lines when I’m in front of my laptop add in `~/.claude/CLAUDE.md`: ``` ## PDM usage - when starting work, check if there is a pyproject.toml. If it contains 'pdm' anywhere, assume you should use PDM for running scripts and interacting with the python environment. - Run python directly by using 'pdm run python ...' to use the correct environment - Run tests by running 'pdm test ..' of if that fails 'pdm run pytest .." ```