diff --git a/flake8_expression_complexity/utils/complexity.py b/flake8_expression_complexity/utils/complexity.py index 9e04524..9b3a5f1 100644 --- a/flake8_expression_complexity/utils/complexity.py +++ b/flake8_expression_complexity/utils/complexity.py @@ -40,9 +40,9 @@ (ast.ClassDef, 'classdef'), ( ( - ast.Name, ast.Import, ast.Str, ast.Num, ast.NameConstant, ast.Bytes, ast.Nonlocal, + ast.Name, ast.Import, ast.Nonlocal, ast.ImportFrom, ast.Pass, ast.Raise, ast.Break, ast.Continue, type(None), - ast.Ellipsis, ast.Global, + ast.Constant, ast.Global, ), 'simple_type', ),