src/eric7/Plugins/CheckerPlugins/SyntaxChecker/pyCheckSyntax.py

branch
eric7
changeset 10341
3fdffd9cc21d
parent 10188
0f873791d67e
child 10439
21c28b0f9e41
--- a/src/eric7/Plugins/CheckerPlugins/SyntaxChecker/pyCheckSyntax.py	Fri Nov 24 14:59:26 2023 +0100
+++ b/src/eric7/Plugins/CheckerPlugins/SyntaxChecker/pyCheckSyntax.py	Sat Nov 25 18:19:21 2023 +0100
@@ -107,12 +107,12 @@
     @type bool
     @param additionalBuiltins list of names pyflakes should consider as builtins
     @type list of str
-    @return dictionary with the keys 'error', 'py_warnings' and 'warnings' which
-            hold a list containing details about the syntax error, Python warnings
-            and PyFlakes warnings (file name, line number, column, codestring (only
-            for syntax errors), the message and an optional list with arguments for
-            the message)
-    @rtype dict
+    @return list of dictionaries with the keys 'error', 'py_warnings' and 'warnings'
+        which contain a tuple with details about the syntax error or a list of
+        tuples with details about Python warnings and PyFlakes warnings. Each tuple
+        contains the file name, line number, column, code string (only for syntax
+        errors), the message and an optional list with arguments for the message.
+    @rtype list of dict
     """
     return __pySyntaxAndPyflakesCheck(
         filename, codestring, checkFlakes, ignoreStarImportWarnings, additionalBuiltins
@@ -126,11 +126,11 @@
     @param argumentsList list of arguments tuples as given for pySyntaxAndPyflakesCheck
     @type list
     @param send reference to send function
-    @type func
+    @type function
     @param fx registered service name
     @type str
     @param cancelled reference to function checking for a cancellation
-    @type func
+    @type function
     @param maxProcesses number of processes to be used
     @type int
     """
@@ -238,12 +238,12 @@
     @type bool
     @param additionalBuiltins list of names pyflakes should consider as builtins
     @type list of str
-    @return dictionary with the keys 'error', 'py_warnings' and 'warnings' which
-            hold a list containing details about the syntax error, Python warnings
-            and PyFlakes warnings (file name, line number, column, codestring (only
-            for syntax errors), the message and an optional list with arguments for
-            the message)
-    @rtype dict
+    @return list of dictionaries with the keys 'error', 'py_warnings' and 'warnings'
+        which contain a tuple with details about the syntax error or a list of
+        tuples with details about Python warnings and PyFlakes warnings. Each tuple
+        contains the file name, line number, column, code string (only for syntax
+        errors), the message and an optional list with arguments for the message.
+    @rtype list of dict
     """
     if codestring:
         errorDict = {}

eric ide

mercurial