Add total pixi's configuration supports for Python.gitignore #578
+8
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request
Thank you for contributing to @toptal/gitignore and https://www.gitignore.io.
New or update
Select the appropriate check box for this pull request. This helps when merging to ensure there are no conflicts with other templates or misunderstandings of how thee template list works.
New
.gitignore
templateUpdate
.gitignore
templateDetails
Reasons for making this change:
pixi is a package manager. (Almost used for Python developing)
I want to append pixi support for this project.
This appendix format is same as previous ones, pyenv, pipenv, pdm, poetry.
#576 is a proposal to append
pixi
support too. But that is not enough supports of pixi.This pull requests include two type of changes for pixi's support.
First one is for
pixi.lock
. It just follows precedent cases(pipenv, poetry, pdm).I don't think there is any problem to append this line.
Second one is for
.pixi
.pixi
create.pixi
directory, just like Python's venv module creates one in the.venv
directory..pixi
is a directory for setting up virtualenv.It is recommended not to include this directory in version control in pixi system.
Why
.pixi
is needed in gitignore.When initialize pixi project (by running
pixi init
command), pixi automatically add the line of.pixi
to.gitignore
file. (If already exist.pixi
in user's .gitignore file, pixi doesn't change anything.)But user may use this project's template after initialized pixi.
This change doesn't cause any breaking change. Appending
.pixi
in this project's template is reasonable.Links to documentation supporting these rule changes:
https://prefix.dev/docs/pixi/cli#init
Link to application or project’s homepage: https://pixi.sh/latest/