--- a/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer.html Thu Jun 04 17:57:20 2020 +0200 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer.html Sat Jun 06 19:42:15 2020 +0200 @@ -402,30 +402,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD111" ID="CodeStyleFixer.__fixD111"></a> @@ -440,25 +445,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD112" ID="CodeStyleFixer.__fixD112"></a> @@ -473,25 +484,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD121" ID="CodeStyleFixer.__fixD121"></a> @@ -506,30 +523,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD131" ID="CodeStyleFixer.__fixD131"></a> @@ -545,25 +567,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD141" ID="CodeStyleFixer.__fixD141"></a> @@ -579,30 +607,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD142" ID="CodeStyleFixer.__fixD142"></a> @@ -618,30 +651,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD143" ID="CodeStyleFixer.__fixD143"></a> @@ -657,30 +695,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD144" ID="CodeStyleFixer.__fixD144"></a> @@ -696,30 +739,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD145" ID="CodeStyleFixer.__fixD145"></a> @@ -735,30 +783,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD221" ID="CodeStyleFixer.__fixD221"></a> @@ -774,30 +827,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD242" ID="CodeStyleFixer.__fixD242"></a> @@ -813,30 +871,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD243" ID="CodeStyleFixer.__fixD243"></a> @@ -852,30 +915,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD247" ID="CodeStyleFixer.__fixD247"></a> @@ -891,30 +959,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE101" ID="CodeStyleFixer.__fixE101"></a> @@ -929,25 +1002,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE121" ID="CodeStyleFixer.__fixE121"></a> @@ -963,30 +1042,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE122" ID="CodeStyleFixer.__fixE122"></a> @@ -1001,30 +1085,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE123" ID="CodeStyleFixer.__fixE123"></a> @@ -1039,30 +1128,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE125" ID="CodeStyleFixer.__fixE125"></a> @@ -1078,30 +1172,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE126" ID="CodeStyleFixer.__fixE126"></a> @@ -1117,30 +1216,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE127" ID="CodeStyleFixer.__fixE127"></a> @@ -1155,30 +1259,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE201" ID="CodeStyleFixer.__fixE201"></a> @@ -1193,25 +1302,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE221" ID="CodeStyleFixer.__fixE221"></a> @@ -1227,25 +1342,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE225" ID="CodeStyleFixer.__fixE225"></a> @@ -1260,25 +1381,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE231" ID="CodeStyleFixer.__fixE231"></a> @@ -1293,25 +1420,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE251" ID="CodeStyleFixer.__fixE251"></a> @@ -1327,25 +1460,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE261" ID="CodeStyleFixer.__fixE261"></a> @@ -1360,25 +1499,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE304" ID="CodeStyleFixer.__fixE304"></a> @@ -1394,30 +1539,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE401" ID="CodeStyleFixer.__fixE401"></a> @@ -1432,30 +1582,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE501" ID="CodeStyleFixer.__fixE501"></a> @@ -1470,30 +1625,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE502" ID="CodeStyleFixer.__fixE502"></a> @@ -1508,25 +1668,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE701" ID="CodeStyleFixer.__fixE701"></a> @@ -1541,30 +1707,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE702" ID="CodeStyleFixer.__fixE702"></a> @@ -1579,30 +1750,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE711" ID="CodeStyleFixer.__fixE711"></a> @@ -1617,25 +1793,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixN804" ID="CodeStyleFixer.__fixN804"></a> @@ -1651,30 +1833,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixN806" ID="CodeStyleFixer.__fixN806"></a> @@ -1689,30 +1876,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixReindent" ID="CodeStyleFixer.__fixReindent"></a> @@ -1758,25 +1950,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixW292" ID="CodeStyleFixer.__fixW292"></a> @@ -1791,25 +1989,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixW391" ID="CodeStyleFixer.__fixW391"></a> @@ -1824,25 +2028,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixW603" ID="CodeStyleFixer.__fixW603"></a> @@ -1857,25 +2067,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixWhitespace" ID="CodeStyleFixer.__fixWhitespace"></a> @@ -2011,32 +2227,38 @@ </dl> <a NAME="CodeStyleFixer.fixIssue" ID="CodeStyleFixer.fixIssue"></a> <h4>CodeStyleFixer.fixIssue</h4> -<b>fixIssue</b>(<i>line, pos, message</i>) +<b>fixIssue</b>(<i>line, pos, code</i>) <p> Public method to fix the fixable issues. </p> <dl> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -character position of issue (integer) +position inside line </dd> -<dt><i>message</i></dt> +<dt><i>code</i> (str)</dt> <dd> -message text (string) +code of the issue </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, arguments list for the message + and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list, int) </dd> </dl> <a NAME="CodeStyleFixer.mutualStartswith" ID="CodeStyleFixer.mutualStartswith"></a>