(obj, allowed, disallowed, paths)
| 905 | help="Name of the disallowed libraries") |
| 906 | @click.pass_obj |
| 907 | def linking_check_dependencies(obj, allowed, disallowed, paths): |
| 908 | from .linking import check_dynamic_library_dependencies, DependencyError |
| 909 | |
| 910 | allowed, disallowed = set(allowed), set(disallowed) |
| 911 | try: |
| 912 | for path in map(pathlib.Path, paths): |
| 913 | check_dynamic_library_dependencies(path, allowed=allowed, |
| 914 | disallowed=disallowed) |
| 915 | except DependencyError as e: |
| 916 | raise click.ClickException(str(e)) |
| 917 | |
| 918 | |
| 919 | add_optional_command("docker", module=".docker.cli", function="docker", |
nothing calls this directly
no test coverage detected