Skip to content

Commit 323038a

Browse files
committed
fix parameter
1 parent 0cb6a5b commit 323038a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

jupyter_releaser/cli.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,14 +425,16 @@ def build_python(dist_dir, python_packages):
425425
@add_options(check_imports_options)
426426
@add_options(pydist_check_options)
427427
@use_checkout_dir()
428-
def check_python(dist_dir, check_imports, check_cmd):
428+
def check_python(dist_dir, check_imports, pydist_check_cmd):
429429
"""Check Python dist files"""
430430
for dist_file in glob(f"{dist_dir}/*"):
431431
if Path(dist_file).suffix not in [".gz", ".whl"]:
432432
util.log(f"Skipping non-python dist file {dist_file}")
433433
continue
434434

435-
python.check_dist(dist_file, python_imports=check_imports, check_cmd=check_cmd)
435+
python.check_dist(
436+
dist_file, python_imports=check_imports, check_cmd=pydist_check_cmd
437+
)
436438

437439

438440
@main.command()

0 commit comments

Comments
 (0)