diff --git a/src/rapids_dependency_file_generator/_cli.py b/src/rapids_dependency_file_generator/_cli.py index b507f401..3ff424c1 100644 --- a/src/rapids_dependency_file_generator/_cli.py +++ b/src/rapids_dependency_file_generator/_cli.py @@ -148,4 +148,11 @@ def main(argv=None): if args.clean: delete_existing_files(args.clean) - make_dependency_files(parsed_config, file_keys, output, matrix, args.prepend_channels, to_stdout) + make_dependency_files( + parsed_config=parsed_config, + file_keys=file_keys, + output=output, + matrix=matrix, + prepend_channels=args.prepend_channels, + to_stdout=to_stdout, + ) diff --git a/src/rapids_dependency_file_generator/_rapids_dependency_file_generator.py b/src/rapids_dependency_file_generator/_rapids_dependency_file_generator.py index 724b8ee0..c17f208a 100644 --- a/src/rapids_dependency_file_generator/_rapids_dependency_file_generator.py +++ b/src/rapids_dependency_file_generator/_rapids_dependency_file_generator.py @@ -312,13 +312,14 @@ def should_use_specific_entry(matrix_combo: dict[str, str], specific_entry_matri def make_dependency_files( + *, parsed_config: _config.Config, file_keys: list[str], output: typing.Union[set[_config.Output], None], matrix: typing.Union[dict[str, list[str]], None], prepend_channels: list[str], to_stdout: bool, -): +) -> None: """Generate dependency files. This function iterates over data parsed from a YAML file conforming to the