diff --git a/django_mongodb_cli/utils.py b/django_mongodb_cli/utils.py index 87b94d9..7d5c377 100644 --- a/django_mongodb_cli/utils.py +++ b/django_mongodb_cli/utils.py @@ -131,6 +131,7 @@ def repo_clone(repo_entry, url_pattern, branch_pattern, repo): git.Repo.clone_from(repo_url, clone_path) except git.exc.GitCommandError as e: click.echo(f"Failed to clone repository: {e}") + subprocess.run(["pre-commit", "install"], cwd=clone_path) else: click.echo(f"Skipping {repo_url} in {clone_path} (branch: {branch})")