Commit Graph

10 Commits

Author SHA1 Message Date
Ayaz Salikhov f67914ef8a
maint: Add pyupgrade pre-commit hook (#3671) 2024-12-09 17:05:54 +01:00
Paul Brit 413285c7b7
fix: micromamba run when cwd does not exist (#3336)
fail micromamba run if cwd does not exist

Co-authored-by: Hind-M <70631848+Hind-M@users.noreply.github.com>
2024-07-15 17:30:32 +02:00
Antoine Prouvost 1230b92094
Move to Ruff (#3011)
* Use Ruff LSP

* Remove unused imports

* More Ruff fixes

* Remove unused test vars

* Explicit import

* Explicit import

* Explicit import

* Explicit import

* Explicit import

* Warning fixes

* Import fixtures

* Add ruff pre-commit

* Remove pre-commits checks superceded by ruff

* Fix imports

* Fix ruff warning

* Fix test_linking fixtures

* Fix typo

* Fix test_update fixture import

* Python line-length to 100

* Reformat Python code line length

* Fix typo
2023-11-27 19:10:34 +01:00
Antoine Prouvost 7b0b9a5aeb
Move GHA to setup-micromamba (#2545)
* Move to setup-micromamba

* Try init-shell

* Activate env in umamba_tests_win_cmd

* Add test_run failure output

* Try pwsh

* Use TEST_MAMBA_EXE in test_run.sh

* Unset CONDARC

* Remove more CONDARC

* Remove unecessary cleanup in main CI

* Flexible Pytest deletion

* Remove explicit activation
2023-06-15 18:20:10 +02:00
Jonas Haag 48d595ae45
Update pre-commit hooks (#2586) 2023-06-13 22:39:50 +02:00
Hind-M 353ed8d7f6
[micromamba] Stop run command when given prefix does not exist (#2257)
Fix https://github.com/mamba-org/mamba/issues/2084
2023-02-02 13:35:51 +02:00
Jonas Haag 7260871613
Fix #1936: Proper quoting in 'run' (#1939) 2022-09-21 15:48:43 +02:00
Klaim (Joël Lamotte) 6ff7fe3ab0
micromamba run: add test runnning python from a conda env (#1564) 2022-03-07 22:29:37 +01:00
Klaim (Joël Lamotte) 25766aad68
Added bash stream attach tests for `micromamba run` (#1552) 2022-03-03 12:48:10 +01:00
Klaim (Joël Lamotte) 3f067c575f
`micromamba run` basic tests (#1549) 2022-03-02 15:07:18 +01:00