src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Async/AsyncVisitor.py

branch
eric7
changeset 10175
57ed3cb66e9a
parent 10116
4a619fb7bd09
child 10439
21c28b0f9e41
equal deleted inserted replaced
10173:9c64ac720853 10175:57ed3cb66e9a
16 from ast import unparse 16 from ast import unparse
17 except ImportError: 17 except ImportError:
18 # Python < 3.9 18 # Python < 3.9
19 from ast_unparse import unparse 19 from ast_unparse import unparse
20 20
21 # 21 #######################################################################
22 # The visitor is adapted from flake8-async v22.11.14 22 ## AsyncVisitor
23 # 23 ##
24 ## adapted from: flake8-async v22.11.14
25 #######################################################################
24 26
25 27
26 class AsyncVisitor(ast.NodeVisitor): 28 class AsyncVisitor(ast.NodeVisitor):
27 """ 29 """
28 Class implementing a node visitor for checking async functions for use of 30 Class implementing a node visitor for checking async functions for use of

eric ide

mercurial