Tue, 17 Sep 2019 19:21:41 +0200
CodeStyleChecker: added a TODO in order to add a type annotation checker like flake8-annotations (or port the later)
eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py | file | annotate | diff | comparison | revisions |
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py Tue Sep 17 19:20:18 2019 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py Tue Sep 17 19:21:41 2019 +0200 @@ -342,6 +342,9 @@ complexityChecker.run() stats.update(complexityChecker.counters) errors += complexityChecker.errors + + # check function annotations + # TODO: implement function annotation checker (see flake8-annotations) errorsDict = {} for _fname, lineno, position, text in errors: