(name: &str)
| 716 | } |
| 717 | |
| 718 | fn is_builtin_python_module(name: &str) -> bool { |
| 719 | const BUILTINS: &[&str] = &[ |
| 720 | "os", "sys", "re", "json", "time", "datetime", "math", "random", |
| 721 | "collections", "itertools", "functools", "pathlib", "subprocess", |
| 722 | "threading", "multiprocessing", "asyncio", "io", "pickle", "csv", |
| 723 | "xml", "html", "urllib", "http", "email", "socket", "ssl", "hashlib", |
| 724 | "hmac", "base64", "binascii", "struct", "codecs", "locale", "gettext", |
| 725 | "logging", "argparse", "configparser", "warnings", "abc", "contextlib", |
| 726 | ]; |
| 727 | BUILTINS.contains(&name) |
| 728 | } |
| 729 | |
| 730 | /// Check if name is a common CSS property |
| 731 | fn is_css_property(name: &str) -> bool { |
no outgoing calls
no test coverage detected