CodeStyleChecker: added a TODO in order to add a type annotation checker like flake8-annotations (or port the later)

Tue, 17 Sep 2019 19:21:41 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 17 Sep 2019 19:21:41 +0200
changeset 7242
799f9ec0d4e6
parent 7241
0c0c9015c40f
child 7243
cfeea029d8e1

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:

eric ide

mercurial