chia-blockchain/activated.ps1
Kyle Altendorf e7089064eb
make pre-commit mypy run use regular venv (via activated shim) (#12077)
* make pre-commit mypy run use regular venv (via activated shim)

* & not Invoke-Expression

* Update activated.ps1

* install for pre-commit

* Update activated.sh

* Update .pre-commit-config.yaml
2022-07-06 11:40:06 -04:00

7 lines
160 B
PowerShell

$ErrorActionPreference = "Stop"
$script_directory = Split-Path $MyInvocation.MyCommand.Path -Parent
& "$script_directory/venv/Scripts/Activate.ps1"
& "$args"