File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ def main(force):
184
184
)
185
185
]
186
186
187
- python_imports_options = [
187
+ check_imports_options = [
188
188
click .option (
189
189
"--check-imports" ,
190
190
envvar = "RH_CHECK_IMPORTS" ,
@@ -413,16 +413,16 @@ def build_python(dist_dir, python_packages):
413
413
414
414
@main .command ()
415
415
@add_options (dist_dir_options )
416
- @add_options (python_imports_options )
416
+ @add_options (check_imports_options )
417
417
@use_checkout_dir ()
418
- def check_python (dist_dir , python_imports ):
418
+ def check_python (dist_dir , check_imports ):
419
419
"""Check Python dist files"""
420
420
for dist_file in glob (f"{ dist_dir } /*" ):
421
421
if Path (dist_file ).suffix not in [".gz" , ".whl" ]:
422
422
util .log (f"Skipping non-python dist file { dist_file } " )
423
423
continue
424
424
425
- python .check_dist (dist_file , python_imports = python_imports )
425
+ python .check_dist (dist_file , python_imports = check_imports )
426
426
427
427
428
428
@main .command ()
You can’t perform that action at this time.
0 commit comments