mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Use a more intelligent default language version
This commit is contained in:
parent
853cbecd4e
commit
d876661345
15 changed files with 109 additions and 54 deletions
|
|
@ -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.')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue