Use a more intelligent default language version

This commit is contained in:
Anthony Sottile
2017-07-08 20:22:36 -07:00
parent 853cbecd4e
commit d876661345
15 changed files with 109 additions and 54 deletions

View File

@@ -5,13 +5,10 @@ from pre_commit.xargs import xargs
ENVIRONMENT_DIR = None
get_default_version = helpers.basic_get_default_version
def install_environment(
repo_cmd_runner,
version='default',
additional_dependencies=(),
):
def install_environment(repo_cmd_runner, version, additional_dependencies):
"""Installation for script type is a noop."""
raise AssertionError('Cannot install script repo.')