checkstyle.utils#

Utils package

checkstyle.utils.run_command(binary_file: str, base_dir: str, files: List[str], **kwargs) int[source]#

Function for running java program

Parameters:
  • binary_file – Binary file to run the program

  • base_dir – Directory where the binary file is located

  • files – Target files passed to the program

  • kwargs – Keyword arguments passed to the program

Returns:

Exit code

Return type:

int

checkstyle.utils.get_command_args_from(kwargs: Dict[str, Any]) List[str][source]#

Returns arguments list for running command :param kwargs: Keyword arguments

Returns:

Arguments list

Return type:

list(str)

Submodules#