src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/MiscellaneousChecker.py

branch
eric7
changeset 11134
3243a66db84a
parent 11090
f5f5f5803935
child 11138
1f743bad6fd3
equal deleted inserted replaced
11133:d650c9527b87 11134:3243a66db84a
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",

eric ide

mercurial