pixi init
always writes to pyproject.toml
if it exists
#1615
Labels
🐞 bug
Something isn't working
✨ enhancement
Feature request
🗒️ configuration
Issue related to configuration of project or global behavior
Checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using
pixi --version
.Reproducible example
Issue description
When executing
pixi init
, pixi doesn't create apixi.toml
but instead writes topyproject.toml
, even if I didn't specify it via--pyproject
. I personally like to keep my pyproject.toml and pixi.toml configuration separate as I can ensure that I don't use pixi's pip functionality this way.Expected behavior
I would expect that pixi always creates a
pixi.toml
and only adds topyproject.toml
if specified via--pyproject
.Alternatively, we could interactively prompt the user whether they want to have their pixi configuration in
pixi.toml
orpyproject.toml
.The text was updated successfully, but these errors were encountered: