From 0a270f4f70273d51cbf46b2ae4355b2c6410c30f Mon Sep 17 00:00:00 2001 From: Wilson Lin Date: Wed, 22 Jun 2022 03:56:33 +1000 Subject: [PATCH] Add Python type definitions via stub file --- python/minify_html.pyi | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 python/minify_html.pyi diff --git a/python/minify_html.pyi b/python/minify_html.pyi new file mode 100644 index 0000000..bd247aa --- /dev/null +++ b/python/minify_html.pyi @@ -0,0 +1,13 @@ +def minify( + code: str, + do_not_minify_doctype: bool = False, + ensure_spec_compliant_unquoted_attribute_values: bool = False, + keep_closing_tags: bool = False, + keep_comments: bool = False, + keep_html_and_head_opening_tags: bool = False, + keep_spaces_between_attributes: bool = False, + minify_css: bool = False, + minify_js: bool = False, + remove_bangs: bool = False, + remove_processing_instructions: bool = False, +) -> str: ...