@@ -893,10 +893,7 @@ def _warn_on_ignored_requirements(directory: str, requirements_file_name: str):
893893@click .option (
894894 "--override-python-version" ,
895895 type = validation .PYTHON_VERSION ,
896- help = (
897- "An optional python version to use instead of the version from "
898- "the detected environment."
899- )
896+ help = ("An optional python version to use instead of the version from " "the detected environment." ),
900897)
901898@click .option (
902899 "--force-generate" ,
@@ -1043,10 +1040,7 @@ def deploy_notebook(
10431040@click .option (
10441041 "--override-python-version" ,
10451042 type = validation .PYTHON_VERSION ,
1046- help = (
1047- "An optional python version to use instead of the version from "
1048- "the detected environment."
1049- )
1043+ help = ("An optional python version to use instead of the version from " "the detected environment." ),
10501044)
10511045@click .option (
10521046 "--force-generate" ,
@@ -1093,10 +1087,7 @@ def deploy_voila(
10931087 output_params (ctx , locals ().items ())
10941088 app_mode = AppModes .JUPYTER_VOILA
10951089 environment = create_python_environment (
1096- path if isdir (path ) else dirname (path ),
1097- force_generate ,
1098- python ,
1099- override_python_version
1090+ path if isdir (path ) else dirname (path ), force_generate , python , override_python_version
11001091 )
11011092
11021093 ce = RSConnectExecutor (
@@ -1252,10 +1243,7 @@ def deploy_manifest(
12521243@click .option (
12531244 "--override-python-version" ,
12541245 type = validation .PYTHON_VERSION ,
1255- help = (
1256- "An optional python version to use instead of the version from "
1257- "the detected environment."
1258- )
1246+ help = ("An optional python version to use instead of the version from " "the detected environment." ),
12591247)
12601248@click .option (
12611249 "--force-generate" ,
@@ -1613,12 +1601,9 @@ def generate_deploy_python(app_mode: AppMode, alias: str, min_version: str, desc
16131601 ),
16141602 )
16151603 @click .option (
1616- "--override-python-version" ,
1617- type = validation .PYTHON_VERSION ,
1618- help = (
1619- "An optional python version to use instead of the version from "
1620- "the detected environment."
1621- )
1604+ "--override-python-version" ,
1605+ type = validation .PYTHON_VERSION ,
1606+ help = ("An optional python version to use instead of the version from " "the detected environment." ),
16221607 )
16231608 @click .option (
16241609 "--force-generate" ,
@@ -1668,10 +1653,7 @@ def deploy_app(
16681653 entrypoint = validate_entry_point (entrypoint , directory )
16691654 extra_files_list = validate_extra_files (directory , extra_files )
16701655 environment = create_python_environment (
1671- directory ,
1672- force_generate ,
1673- python ,
1674- override_python_version = override_python_version
1656+ directory , force_generate , python , override_python_version = override_python_version
16751657 )
16761658
16771659 if app_mode == AppModes .PYTHON_SHINY :
@@ -1740,6 +1722,7 @@ def deploy_app(
17401722generate_deploy_python (app_mode = AppModes .PYTHON_SHINY , alias = "shiny" , min_version = "2022.07.0" )
17411723generate_deploy_python (app_mode = AppModes .PYTHON_GRADIO , alias = "gradio" , min_version = "2024.12.0" )
17421724
1725+
17431726@deploy .command (
17441727 name = "other-content" ,
17451728 short_help = "Describe deploying other content to Posit Connect." ,
@@ -1793,10 +1776,7 @@ def write_manifest():
17931776@click .option (
17941777 "--override-python-version" ,
17951778 type = validation .PYTHON_VERSION ,
1796- help = (
1797- "An optional python version to use instead of the version from "
1798- "the detected environment."
1799- )
1779+ help = ("An optional python version to use instead of the version from " "the detected environment." ),
18001780)
18011781@click .option (
18021782 "--force-generate" ,
@@ -1888,10 +1868,7 @@ def write_manifest_notebook(
18881868@click .option (
18891869 "--override-python-version" ,
18901870 type = validation .PYTHON_VERSION ,
1891- help = (
1892- "An optional python version to use instead of the version from "
1893- "the detected environment."
1894- )
1871+ help = ("An optional python version to use instead of the version from " "the detected environment." ),
18951872)
18961873@click .option (
18971874 "--force-generate" ,
@@ -2020,10 +1997,7 @@ def write_manifest_voila(
20201997@click .option (
20211998 "--override-python-version" ,
20221999 type = validation .PYTHON_VERSION ,
2023- help = (
2024- "An optional python version to use instead of the version from "
2025- "the detected environment."
2026- )
2000+ help = ("An optional python version to use instead of the version from " "the detected environment." ),
20272001)
20282002@click .option (
20292003 "--force-generate" ,
@@ -2209,10 +2183,7 @@ def generate_write_manifest_python(app_mode: AppMode, alias: str, desc: Optional
22092183 @click .option (
22102184 "--override-python-version" ,
22112185 type = validation .PYTHON_VERSION ,
2212- help = (
2213- "An optional python version to use instead of the version from "
2214- "the detected environment."
2215- )
2186+ help = ("An optional python version to use instead of the version from " "the detected environment." ),
22162187 )
22172188 @click .option (
22182189 "--force-generate" ,
0 commit comments