pathbird / poetry-kernel

Python Jupyter kernel using Poetry for reproducible notebooks
MIT License
246 stars 7 forks source link

Check in parent_dirs for pyproject.toml #2

Closed nick-gorse closed 2 years ago

nick-gorse commented 2 years ago

This now loops through parent directories to check for pyproject.toml to allow for kernel execution when running notebooks in sub directories. I used the same code from poetry itself to ensure compatibility

twavv commented 2 years ago

Thanks @nick-gorse. I pushed a small change. Will merge and release.

twavv commented 2 years ago

Released! Can you give it a test and make sure it works as intended?

nick-gorse commented 2 years ago

@travigd

Sorry, Christmas and real life got in my way of testing this,

Just gave it a test and it's all good for me.