Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After installing the plugin, unable to run poetry outside of a poetry project directory #29

Open
mark-goodall opened this issue May 1, 2024 · 0 comments
Labels
fix A bug fix

Comments

@mark-goodall
Copy link

Description

Poetry commands will not run outside of a poetry project directory, for example

❯ poetry init .

Poetry could not find a pyproject.toml file in /home/markit/test/foo or its parents

or

touch pyproject.toml
❯ poetry init .

[tool.poetry] section not found in /home/markit/test/foo/pyproject.toml

Expected behavior

poetry init or poetry --help should behave as expected

Actual behavior

It instead is checking for the existence of a poetry pyproject.toml

Possible fixes

Steps to Reproduce

As above, with fresh install of the latest poetry and this plugin.

@mark-goodall mark-goodall added the fix A bug fix label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix A bug fix
Projects
None yet
Development

No branches or pull requests

1 participant