5.3.1.25.3.1. cli.pre_commit_scripts.check_encoding.main

cli.pre_commit_scripts.check_encoding.main(argv: Sequence[str] | None = None) int

Run the command-line interface for encoding validation.

Parameters:

argv – Optional command-line arguments.

Returns:

Exit code (0 if all files decode successfully, up to 255 otherwise).