Fix more formatting

This commit is contained in:
Gleb Kanterov 2025-01-10 09:29:06 +01:00
parent e9bf70846f
commit 6f4ba74351
No known key found for this signature in database
GPG Key ID: 4D87C640DBD00176
2 changed files with 5 additions and 4 deletions

View File

@ -29,7 +29,8 @@
"source": [
{{- if (eq .include_python "yes") }}
"import sys\n",
"sys.path.append('../src')\n",
"\n",
"sys.path.append(\"../src\")\n",
"from {{.project_name}} import main\n",
"\n",
"main.get_taxis(spark).show(10)"

View File

@ -15,13 +15,13 @@ sys.path.append("./src")
import datetime
import {{.project_name}}
local_version = datetime.datetime.utcnow().strftime("%Y%m%d.%H%M%S")
setup(
name="{{.project_name}}",
# We use timestamp as Local version identifier (https://peps.python.org/pep-0440/#local-version-identifiers.)
# to ensure that changes to wheel package are picked up when used on all-purpose clusters
version={{.project_name}}.__version__
+ "+"
+ datetime.datetime.utcnow().strftime("%Y%m%d.%H%M%S"),
version={{.project_name}}.__version__ + "+" + local_version,
url="https://databricks.com",
author="{{user_name}}",
description="wheel file based on {{.project_name}}/src",