lookout.core.package¶
Module Contents¶
-
lookout.core.package.package_cmdline_entry(args:argparse.Namespace)¶ Package several analyzers to a Docker container and write a sample Docker Compose config for Lookout.
Parameters: args – Parsed command line arguments. Returns: None or error code.
-
lookout.core.package.package(script_yes:bool, script_no:bool, wd:str, analyzers:Iterable[str], requirements_path:str, repo:str, user:str, token:str)¶ Package several analyzers to a Docker container and write a sample Docker Compose config for Lookout.
Parameters: - script_yes – Force script execution in the end.
- script_no – Disable script execution in the end.
- wd – Working directory. All the files will be generated inside.
- analyzers – List of analyzer fully qualified module names.
- requirements_path – Path to requirements.txt. May be empty.
- repo – GitHub repo name to poll. E.g. “src-d/lookout”.
- user – GitHub user name.
- token – GitHub user’s token. Must have “repo” permissions. not a password
Returns: None or error code.
-
lookout.core.package.BUILT_IN_PKGS¶
-
lookout.core.package.NATIVE_DEPS¶