924 |
924 |
925 def __checkComprehensions(self): |
925 def __checkComprehensions(self): |
926 """ |
926 """ |
927 Private method to check some comprehension related things. |
927 Private method to check some comprehension related things. |
928 |
928 |
929 This method is adapted from: flake8-comprehensions v3.15.0 |
929 This method is adapted from: flake8-comprehensions v3.16.0 |
930 Original: Copyright (c) 2017 Adam Johnson |
930 Original: Copyright (c) 2017 Adam Johnson |
931 """ |
931 """ |
932 compType = { |
932 compType = { |
933 ast.DictComp: "dict", |
933 ast.DictComp: "dict", |
934 ast.ListComp: "list", |
934 ast.ListComp: "list", |