Skip to content

Commit

Permalink
Add pixi to excluded directories
Browse files Browse the repository at this point in the history
Pixi is a recent tool that manages project-specific Conda environments.
The environments are created in a cache directory named `.pixi/` under the project root.
They should never be included in a Python distribution.
For additional discussion, see
<prefix-dev/pixi#2115 (comment)>
  • Loading branch information
maresb committed Oct 21, 2024
1 parent 9650a1d commit 4c30df4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/src/hatchling/builders/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
'.pytest_cache',
# Mypy
'.mypy_cache',
# pixi
'.pixi',
))
EXCLUDED_FILES = frozenset((
# https://en.wikipedia.org/wiki/.DS_Store
Expand Down

0 comments on commit 4c30df4

Please sign in to comment.