src/eric7/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/messages.py

branch
eric7
changeset 10437
2f70ca07f0af
parent 10164
b2fbf59d889f
child 10439
21c28b0f9e41
--- a/src/eric7/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/messages.py	Fri Dec 22 17:24:07 2023 +0100
+++ b/src/eric7/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/messages.py	Fri Dec 22 19:45:17 2023 +0100
@@ -28,6 +28,7 @@
         @param filename name of the file
         @type str
         @param loc location of the issue
+        @type tuple of (int, int)
         """
         self.filename = filename
         self.lineno = loc.lineno
@@ -73,9 +74,12 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
-        @param name name of the unused import (string)
+        @type tuple of (int, int)
+        @param name name of the unused import
+        @type str
         """
         Message.__init__(self, filename, loc)
         self.message_args = (name,)
@@ -93,10 +97,14 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
-        @param name name of the redefined object (string)
+        @type tuple of (int, int)
+        @param name name of the redefined object
+        @type str
         @param orig_loc location of the original definition
+        @type tuple of (int, int)
         """
         Message.__init__(self, filename, loc)
         self.message_args = (name, orig_loc.lineno)
@@ -114,10 +122,14 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
-        @param name name of the shadowed import (string)
+        @type tuple of (int, int)
+        @param name name of the shadowed import
+        @type str
         @param orig_loc location of the import
+        @type tuple of (int, int)
         """
         Message.__init__(self, filename, loc)
         self.message_args = (name, orig_loc.lineno)
@@ -135,9 +147,12 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
-        @param modname name of the module (string)
+        @type tuple of (int, int)
+        @param modname name of the module
+        @type str
         """
         Message.__init__(self, filename, loc)
         self.message_args = (modname,)
@@ -155,9 +170,12 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
-        @param modname name of the module imported using star import (string)
+        @type tuple of (int, int)
+        @param modname name of the module imported using star import
+        @type str
         """
         Message.__init__(self, filename, loc)
         self.message_args = (modname,)
@@ -175,10 +193,14 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
-        @param name name of the variable (string)
-        @param from_list list of modules imported from with * (string)
+        @type tuple of (int, int)
+        @param name name of the variable
+        @type str
+        @param from_list list of modules imported from with *
+        @type str
         """
         Message.__init__(self, filename, loc)
         self.message_args = (name, from_list)
@@ -196,9 +218,12 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
-        @param name undefined name (string)
+        @type tuple of (int, int)
+        @param name undefined name
+        @type str
         """
         Message.__init__(self, filename, loc)
         self.message_args = (name,)
@@ -216,9 +241,12 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
+        @type tuple of (int, int)
         @param position position of the syntax error
+        @type tuple of (int, int)
         """
         Message.__init__(self, filename, loc)
         if position:
@@ -238,9 +266,12 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
-        @param name undefined exported name (string)
+        @type tuple of (int, int)
+        @param name undefined exported name
+        @type str
         """
         Message.__init__(self, filename, loc)
         self.message_args = (name,)
@@ -261,10 +292,14 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
-        @param name name of the prematurely referenced variable (string)
+        @type tuple of (int, int)
+        @param name name of the prematurely referenced variable
+        @type str
         @param orig_loc location of the variable definition
+        @type tuple of (int, int)
         """
         Message.__init__(self, filename, loc)
         if orig_loc is None:
@@ -289,9 +324,12 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
-        @param name name of the duplicate argument (string)
+        @type tuple of (int, int)
+        @param name name of the duplicate argument
+        @type str
         """
         Message.__init__(self, filename, loc)
         self.message_args = (name,)
@@ -309,9 +347,12 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
-        @param key dictionary key (string)
+        @type tuple of (int, int)
+        @param key dictionary key
+        @type str
         """
         Message.__init__(self, filename, loc)
         self.message_args = (key,)
@@ -329,9 +370,12 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
-        @param key dictionary key variable (string)
+        @type tuple of (int, int)
+        @param key dictionary key variable
+        @type str
         """
         Message.__init__(self, filename, loc)
         self.message_args = (key,)
@@ -358,9 +402,12 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
-        @param name name of the imported undefined future feature (string)
+        @type tuple of (int, int)
+        @param name name of the imported undefined future feature
+        @type str
         """
         Message.__init__(self, filename, loc)
         self.message_args = (name,)
@@ -381,9 +428,12 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
-        @param names names of unused variable (string)
+        @type tuple of (int, int)
+        @param names names of unused variable
+        @type str
         """
         Message.__init__(self, filename, loc)
         self.message_args = (names,)
@@ -404,9 +454,12 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
-        @param names names of unused variable (string)
+        @type tuple of (int, int)
+        @param names names of unused variable
+        @type str
         """
         Message.__init__(self, filename, loc)
         self.message_args = (names,)
@@ -525,9 +578,12 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
-        @param annotation erroneous forward annotation (string)
+        @type tuple of (int, int)
+        @param annotation erroneous forward annotation
+        @type str
         """
         Message.__init__(self, filename, loc)
         self.message_args = (annotation,)
@@ -591,9 +647,12 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
+        @type tuple of (int, int)
         @param extra_positions indexes of unused arguments
+        @type list of int
         """
         Message.__init__(self, filename, loc)
         self.message_args = (extra_positions,)
@@ -613,9 +672,12 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
+        @type tuple of (int, int)
         @param extra_keywords index of unused named arguments
+        @type list of str
         """
         Message.__init__(self, filename, loc)
         self.message_args = (extra_keywords,)
@@ -635,9 +697,12 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
+        @type tuple of (int, int)
         @param missing_arguments missing arguments
+        @type list of str
         """
         Message.__init__(self, filename, loc)
         self.message_args = (missing_arguments,)
@@ -668,9 +733,12 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
+        @type tuple of (int, int)
         @param error error details
+        @type str
         """
         Message.__init__(self, filename, loc)
         if not isinstance(error, str):
@@ -692,9 +760,12 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
+        @type tuple of (int, int)
         @param error error details
+        @type str
         """
         Message.__init__(self, filename, loc)
         self.message_args = (error,)
@@ -726,9 +797,12 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
+        @type tuple of (int, int)
         @param c unsupported format character
+        @type str
         """
         Message.__init__(self, filename, loc)
         self.message_args = (c,)
@@ -749,10 +823,14 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
-        @param n_placeholders number of placeholders (integer)
-        @param n_substitutions number of substitutions (integer)
+        @type tuple of (int, int)
+        @param n_placeholders number of placeholders
+        @type int
+        @param n_substitutions number of substitutions
+        @type int
         """
         Message.__init__(self, filename, loc)
         self.message_args = (n_placeholders, n_substitutions)
@@ -772,9 +850,12 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
+        @type tuple of (int, int)
         @param extra_keywords index of unused named arguments
+        @type list of str
         """
         Message.__init__(self, filename, loc)
         self.message_args = (extra_keywords,)
@@ -794,9 +875,12 @@
         """
         Constructor
 
-        @param filename name of the file (string)
+        @param filename name of the file
+        @type str
         @param loc location of the issue
+        @type tuple of (int, int)
         @param missing_arguments missing arguments
+        @type list of str
         """
         Message.__init__(self, filename, loc)
         self.message_args = (missing_arguments,)

eric ide

mercurial