search_query.linter

Query linter hook.

Functions

get_parser(search_string, *, platform, ...)

Run the linter on the search string

pre_commit_hook(file_path)

Entrypoint for the query linter hook

search_query.linter.get_parser(search_string: str, *, platform: str, search_field_general: str) QueryStringParser

Run the linter on the search string

search_query.linter.pre_commit_hook(file_path: str) int

Entrypoint for the query linter hook