79211260

Date: 2024-11-21 13:00:44
Score: 0.5
Natty:
Report link

For a windows based build agent use call activate <env_name>:

- script: |
    conda install --yes --quiet --name myEnvironment ruff
    call activate myEnvironment
    ruff format .
  displayName: Activate environment and run ruff

It's the equivalent to mentioned source activate myEnvironment for unix.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ken Jiiii