diff --git a/config/stub_templates/python/stub_config.toml b/config/stub_templates/python/stub_config.toml index 2d4ff6c..1eb0c23 100644 --- a/config/stub_templates/python/stub_config.toml +++ b/config/stub_templates/python/stub_config.toml @@ -13,5 +13,12 @@ Word = "UNUSED" casing = "snake_case" allow_uppercase_vars = false keywords = [ - "for" + # https://docs.python.org/3/reference/lexical_analysis.html#keywords + "False", "await", "else", "import", "pass", + "None", "break", "except", "in", "raise", + "True", "class", "finally", "is", "return", + "and", "continue", "for", "lambda", "try", + "as", "def", "from", "nonlocal", "while", + "assert", "del", "global", "not", "with", + "async", "elif", "if", "or", "yield", ]