Comments (2)
If you add the task the the dev environment (e.g [feature.dev.tasks]) instead of to the default environment and just call pre-commit without recursion then I think this will work as you expected.
from pixi.
Or provide some mechanism to distinguish between commands and tasks.
[tasks]
# @<cmd> is a command rather than a task
pre-commit = "pixi run -e dev @pre-commit"
from pixi.
Related Issues (20)
- `pixi list` should default to the shell-environment if active HOT 4
- add tcsh support to `install.sh` HOT 3
- Introduce an option to disable PS1 shell injection HOT 1
- Path-based source pypi distributions HOT 2
- `pixi list` doesn't print explicitly requested pypi dependencies in bold
- Cannot read global index-url from pip.ini HOT 2
- Action for periodic refresh of pixi.lock file? HOT 15
- Add `pixi upgrade` HOT 3
- Windows Security "attack surface reduction" blocks pixi HOT 5
- List Old and New Version in `pixi global upgrade / upgrade-all` HOT 4
- Powershell completions should perhaps check if the $profile path exists HOT 1
- Default environment not automatically selected for tasks with explicit `cmd` & `depends_on` HOT 1
- When changing the channel, we sometimes run into a resolvo issue
- PyPI transitive dependency missing from default environment HOT 2
- Adding a channel skip the beginning of the URL in pixi.toml
- Handling dependencies from other package repos (like Julia's `General`, Rust's `crates.io`, or R's `CRAN`) HOT 1
- Support --platform for pixi search
- Add python failed when utf-8 character included in project path on Windows HOT 4
- failed to get metadata from repodata.json file HOT 5
- Enable the slient parameter in task configurations HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pixi.