diff --git a/action/main.py b/action/main.py index bc49a1479..c59cd8055 100644 --- a/action/main.py +++ b/action/main.py @@ -66,7 +66,9 @@ def pip_install(*packages): req = ["darker[color,isort]"] if VERSION: if VERSION.startswith("@"): - req[0] = f"git+https://github.com/akaihola/darker{VERSION}#egg=darker" + req[0] = ( + f"git+https://github.com/akaihola/darker{VERSION}[color,isort]#egg=darker" + ) elif VERSION.startswith(("~", "=", "<", ">")): req[0] += VERSION else: