Skip to content

Commit 1386308

Browse files
committed
Fix naming
1 parent 1898d25 commit 1386308

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jupyter_releaser/cli.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def main(force):
184184
)
185185
]
186186

187-
python_imports_options = [
187+
check_imports_options = [
188188
click.option(
189189
"--check-imports",
190190
envvar="RH_CHECK_IMPORTS",
@@ -413,16 +413,16 @@ def build_python(dist_dir, python_packages):
413413

414414
@main.command()
415415
@add_options(dist_dir_options)
416-
@add_options(python_imports_options)
416+
@add_options(check_imports_options)
417417
@use_checkout_dir()
418-
def check_python(dist_dir, python_imports):
418+
def check_python(dist_dir, check_imports):
419419
"""Check Python dist files"""
420420
for dist_file in glob(f"{dist_dir}/*"):
421421
if Path(dist_file).suffix not in [".gz", ".whl"]:
422422
util.log(f"Skipping non-python dist file {dist_file}")
423423
continue
424424

425-
python.check_dist(dist_file, python_imports=python_imports)
425+
python.check_dist(dist_file, python_imports=check_imports)
426426

427427

428428
@main.command()

0 commit comments

Comments
 (0)