X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/4005246f86d1459e1123ac399721054182e9fef6..4c9990023635ece68671324124801f6b75dab2a8:/action/main.py diff --git a/action/main.py b/action/main.py index fde3125..cd920f5 100644 --- a/action/main.py +++ b/action/main.py @@ -2,7 +2,7 @@ import os import shlex import sys from pathlib import Path -from subprocess import run, PIPE, STDOUT +from subprocess import PIPE, STDOUT, run ACTION_PATH = Path(os.environ["GITHUB_ACTION_PATH"]) ENV_PATH = ACTION_PATH / ".black-env" @@ -14,7 +14,7 @@ VERSION = os.getenv("INPUT_VERSION", default="") run([sys.executable, "-m", "venv", str(ENV_PATH)], check=True) -req = "black[colorama,python2]" +req = "black[colorama]" if VERSION: req += f"=={VERSION}" pip_proc = run(