Skip to content

Commit 15419d7

Browse files
use python 3.10 by default
1 parent 577a838 commit 15419d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/install.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ install_precommit <- function(force = FALSE) {
5555
#' @keywords internal
5656
install_impl <- function() {
5757
if (!"r-precommit" %in% reticulate::conda_list()$name) {
58-
reticulate::conda_create("r-precommit")
58+
reticulate::conda_create("r-precommit", python_version = "3.10")
5959
}
6060
reticulate::conda_install("r-precommit", packages = "pre-commit")
6161
}

0 commit comments

Comments
 (0)