429 tuple of (int, str, list or int, int) |
429 tuple of (int, str, list or int, int) |
430 </dd> |
430 </dd> |
431 </dl> |
431 </dl> |
432 <a NAME="CodeStyleFixer.__fixD111" ID="CodeStyleFixer.__fixD111"></a> |
432 <a NAME="CodeStyleFixer.__fixD111" ID="CodeStyleFixer.__fixD111"></a> |
433 <h4>CodeStyleFixer.__fixD111</h4> |
433 <h4>CodeStyleFixer.__fixD111</h4> |
434 <b>__fixD111</b>(<i>code, line, pos</i>) |
434 <b>__fixD111</b>(<i>_code, line, _pos</i>) |
435 <p> |
435 <p> |
436 Private method to fix docstring enclosed in wrong quotes. |
436 Private method to fix docstring enclosed in wrong quotes. |
437 </p> |
437 </p> |
438 <p> |
438 <p> |
439 Codes: D111 |
439 Codes: D111 |
440 </p> |
440 </p> |
441 |
441 |
442 <dl> |
442 <dl> |
443 |
443 |
444 <dt><i>code</i> (str)</dt> |
444 <dt><i>_code</i> (str)</dt> |
445 <dd> |
445 <dd> |
446 code of the issue |
446 code of the issue (unused) |
447 </dd> |
447 </dd> |
448 <dt><i>line</i> (int)</dt> |
448 <dt><i>line</i> (int)</dt> |
449 <dd> |
449 <dd> |
450 line number of the issue |
450 line number of the issue |
451 </dd> |
451 </dd> |
452 <dt><i>pos</i> (int)</dt> |
452 <dt><i>_pos</i> (int)</dt> |
453 <dd> |
453 <dd> |
454 position inside line |
454 position inside line (unused) |
455 </dd> |
455 </dd> |
456 </dl> |
456 </dl> |
457 <dl> |
457 <dl> |
458 <dt>Return:</dt> |
458 <dt>Return:</dt> |
459 <dd> |
459 <dd> |
468 tuple of (int, str, list or int, int) |
468 tuple of (int, str, list or int, int) |
469 </dd> |
469 </dd> |
470 </dl> |
470 </dl> |
471 <a NAME="CodeStyleFixer.__fixD112" ID="CodeStyleFixer.__fixD112"></a> |
471 <a NAME="CodeStyleFixer.__fixD112" ID="CodeStyleFixer.__fixD112"></a> |
472 <h4>CodeStyleFixer.__fixD112</h4> |
472 <h4>CodeStyleFixer.__fixD112</h4> |
473 <b>__fixD112</b>(<i>code, line, pos</i>) |
473 <b>__fixD112</b>(<i>code, line, _pos</i>) |
474 <p> |
474 <p> |
475 Private method to fix docstring 'r' in leading quotes. |
475 Private method to fix docstring 'r' in leading quotes. |
476 </p> |
476 </p> |
477 <p> |
477 <p> |
478 Codes: D112 |
478 Codes: D112 |
550 tuple of (int, str, list or int, int) |
550 tuple of (int, str, list or int, int) |
551 </dd> |
551 </dd> |
552 </dl> |
552 </dl> |
553 <a NAME="CodeStyleFixer.__fixD131" ID="CodeStyleFixer.__fixD131"></a> |
553 <a NAME="CodeStyleFixer.__fixD131" ID="CodeStyleFixer.__fixD131"></a> |
554 <h4>CodeStyleFixer.__fixD131</h4> |
554 <h4>CodeStyleFixer.__fixD131</h4> |
555 <b>__fixD131</b>(<i>code, line, pos</i>) |
555 <b>__fixD131</b>(<i>_code, line, _pos</i>) |
556 <p> |
556 <p> |
557 Private method to fix a docstring summary not ending with a |
557 Private method to fix a docstring summary not ending with a |
558 period. |
558 period. |
559 </p> |
559 </p> |
560 <p> |
560 <p> |
561 Codes: D131 |
561 Codes: D131 |
562 </p> |
562 </p> |
563 |
563 |
564 <dl> |
564 <dl> |
565 |
565 |
566 <dt><i>code</i> (str)</dt> |
566 <dt><i>_code</i> (str)</dt> |
567 <dd> |
567 <dd> |
568 code of the issue |
568 code of the issue (unused) |
569 </dd> |
569 </dd> |
570 <dt><i>line</i> (int)</dt> |
570 <dt><i>line</i> (int)</dt> |
571 <dd> |
571 <dd> |
572 line number of the issue |
572 line number of the issue |
573 </dd> |
573 </dd> |
574 <dt><i>pos</i> (int)</dt> |
574 <dt><i>_pos</i> (int)</dt> |
575 <dd> |
575 <dd> |
576 position inside line |
576 position inside line (unused) |
577 </dd> |
577 </dd> |
578 </dl> |
578 </dl> |
579 <dl> |
579 <dl> |
580 <dt>Return:</dt> |
580 <dt>Return:</dt> |
581 <dd> |
581 <dd> |
986 tuple of (int, str, list or int, int) |
986 tuple of (int, str, list or int, int) |
987 </dd> |
987 </dd> |
988 </dl> |
988 </dl> |
989 <a NAME="CodeStyleFixer.__fixE101" ID="CodeStyleFixer.__fixE101"></a> |
989 <a NAME="CodeStyleFixer.__fixE101" ID="CodeStyleFixer.__fixE101"></a> |
990 <h4>CodeStyleFixer.__fixE101</h4> |
990 <h4>CodeStyleFixer.__fixE101</h4> |
991 <b>__fixE101</b>(<i>code, line, pos</i>) |
991 <b>__fixE101</b>(<i>code, line, _pos</i>) |
992 <p> |
992 <p> |
993 Private method to fix obsolete tab usage and indentation errors. |
993 Private method to fix obsolete tab usage and indentation errors. |
994 </p> |
994 </p> |
995 <p> |
995 <p> |
996 Codes: E101, E111, W191 |
996 Codes: E101, E111, W191 |
1286 tuple of (int, str, list or int, int) |
1286 tuple of (int, str, list or int, int) |
1287 </dd> |
1287 </dd> |
1288 </dl> |
1288 </dl> |
1289 <a NAME="CodeStyleFixer.__fixE201" ID="CodeStyleFixer.__fixE201"></a> |
1289 <a NAME="CodeStyleFixer.__fixE201" ID="CodeStyleFixer.__fixE201"></a> |
1290 <h4>CodeStyleFixer.__fixE201</h4> |
1290 <h4>CodeStyleFixer.__fixE201</h4> |
1291 <b>__fixE201</b>(<i>code, line, pos</i>) |
1291 <b>__fixE201</b>(<i>_code, line, pos</i>) |
1292 <p> |
1292 <p> |
1293 Private method to fix extraneous whitespace. |
1293 Private method to fix extraneous whitespace. |
1294 </p> |
1294 </p> |
1295 <p> |
1295 <p> |
1296 Codes: E201, E202, E203, E211 |
1296 Codes: E201, E202, E203, E211 |
1297 </p> |
1297 </p> |
1298 |
1298 |
1299 <dl> |
1299 <dl> |
1300 |
1300 |
1301 <dt><i>code</i> (str)</dt> |
1301 <dt><i>_code</i> (str)</dt> |
1302 <dd> |
1302 <dd> |
1303 code of the issue |
1303 code of the issue (unused) |
1304 </dd> |
1304 </dd> |
1305 <dt><i>line</i> (int)</dt> |
1305 <dt><i>line</i> (int)</dt> |
1306 <dd> |
1306 <dd> |
1307 line number of the issue |
1307 line number of the issue |
1308 </dd> |
1308 </dd> |
1325 tuple of (int, str, list or int, int) |
1325 tuple of (int, str, list or int, int) |
1326 </dd> |
1326 </dd> |
1327 </dl> |
1327 </dl> |
1328 <a NAME="CodeStyleFixer.__fixE221" ID="CodeStyleFixer.__fixE221"></a> |
1328 <a NAME="CodeStyleFixer.__fixE221" ID="CodeStyleFixer.__fixE221"></a> |
1329 <h4>CodeStyleFixer.__fixE221</h4> |
1329 <h4>CodeStyleFixer.__fixE221</h4> |
1330 <b>__fixE221</b>(<i>code, line, pos</i>) |
1330 <b>__fixE221</b>(<i>_code, line, pos</i>) |
1331 <p> |
1331 <p> |
1332 Private method to fix extraneous whitespace around operator or |
1332 Private method to fix extraneous whitespace around operator or |
1333 keyword. |
1333 keyword. |
1334 </p> |
1334 </p> |
1335 <p> |
1335 <p> |
1336 Codes: E221, E222, E223, E224, E241, E242, E271, E272, E273, E274 |
1336 Codes: E221, E222, E223, E224, E241, E242, E271, E272, E273, E274 |
1337 </p> |
1337 </p> |
1338 |
1338 |
1339 <dl> |
1339 <dl> |
1340 |
1340 |
1341 <dt><i>code</i> (str)</dt> |
1341 <dt><i>_code</i> (str)</dt> |
1342 <dd> |
1342 <dd> |
1343 code of the issue |
1343 code of the issue (unused) |
1344 </dd> |
1344 </dd> |
1345 <dt><i>line</i> (int)</dt> |
1345 <dt><i>line</i> (int)</dt> |
1346 <dd> |
1346 <dd> |
1347 line number of the issue |
1347 line number of the issue |
1348 </dd> |
1348 </dd> |
1365 tuple of (int, str, list or int, int) |
1365 tuple of (int, str, list or int, int) |
1366 </dd> |
1366 </dd> |
1367 </dl> |
1367 </dl> |
1368 <a NAME="CodeStyleFixer.__fixE225" ID="CodeStyleFixer.__fixE225"></a> |
1368 <a NAME="CodeStyleFixer.__fixE225" ID="CodeStyleFixer.__fixE225"></a> |
1369 <h4>CodeStyleFixer.__fixE225</h4> |
1369 <h4>CodeStyleFixer.__fixE225</h4> |
1370 <b>__fixE225</b>(<i>code, line, pos</i>) |
1370 <b>__fixE225</b>(<i>_code, line, pos</i>) |
1371 <p> |
1371 <p> |
1372 Private method to fix extraneous whitespaces around operator. |
1372 Private method to fix extraneous whitespaces around operator. |
1373 </p> |
1373 </p> |
1374 <p> |
1374 <p> |
1375 Codes: E225, E226, E227, E228 |
1375 Codes: E225, E226, E227, E228 |
1376 </p> |
1376 </p> |
1377 |
1377 |
1378 <dl> |
1378 <dl> |
1379 |
1379 |
1380 <dt><i>code</i> (str)</dt> |
1380 <dt><i>_code</i> (str)</dt> |
1381 <dd> |
1381 <dd> |
1382 code of the issue |
1382 code of the issue (unused) |
1383 </dd> |
1383 </dd> |
1384 <dt><i>line</i> (int)</dt> |
1384 <dt><i>line</i> (int)</dt> |
1385 <dd> |
1385 <dd> |
1386 line number of the issue |
1386 line number of the issue |
1387 </dd> |
1387 </dd> |
1404 tuple of (int, str, list or int, int) |
1404 tuple of (int, str, list or int, int) |
1405 </dd> |
1405 </dd> |
1406 </dl> |
1406 </dl> |
1407 <a NAME="CodeStyleFixer.__fixE231" ID="CodeStyleFixer.__fixE231"></a> |
1407 <a NAME="CodeStyleFixer.__fixE231" ID="CodeStyleFixer.__fixE231"></a> |
1408 <h4>CodeStyleFixer.__fixE231</h4> |
1408 <h4>CodeStyleFixer.__fixE231</h4> |
1409 <b>__fixE231</b>(<i>code, line, pos</i>) |
1409 <b>__fixE231</b>(<i>_code, line, pos</i>) |
1410 <p> |
1410 <p> |
1411 Private method to fix missing whitespace after ',;:'. |
1411 Private method to fix missing whitespace after ',;:'. |
1412 </p> |
1412 </p> |
1413 <p> |
1413 <p> |
1414 Codes: E231 |
1414 Codes: E231 |
1415 </p> |
1415 </p> |
1416 |
1416 |
1417 <dl> |
1417 <dl> |
1418 |
1418 |
1419 <dt><i>code</i> (str)</dt> |
1419 <dt><i>_code</i> (str)</dt> |
1420 <dd> |
1420 <dd> |
1421 code of the issue |
1421 code of the issue (unused) |
1422 </dd> |
1422 </dd> |
1423 <dt><i>line</i> (int)</dt> |
1423 <dt><i>line</i> (int)</dt> |
1424 <dd> |
1424 <dd> |
1425 line number of the issue |
1425 line number of the issue |
1426 </dd> |
1426 </dd> |
1443 tuple of (int, str, list or int, int) |
1443 tuple of (int, str, list or int, int) |
1444 </dd> |
1444 </dd> |
1445 </dl> |
1445 </dl> |
1446 <a NAME="CodeStyleFixer.__fixE251" ID="CodeStyleFixer.__fixE251"></a> |
1446 <a NAME="CodeStyleFixer.__fixE251" ID="CodeStyleFixer.__fixE251"></a> |
1447 <h4>CodeStyleFixer.__fixE251</h4> |
1447 <h4>CodeStyleFixer.__fixE251</h4> |
1448 <b>__fixE251</b>(<i>code, line, pos</i>) |
1448 <b>__fixE251</b>(<i>_code, line, pos</i>) |
1449 <p> |
1449 <p> |
1450 Private method to fix extraneous whitespace around keyword and |
1450 Private method to fix extraneous whitespace around keyword and |
1451 default parameter equals. |
1451 default parameter equals. |
1452 </p> |
1452 </p> |
1453 <p> |
1453 <p> |
1454 Codes: E251 |
1454 Codes: E251 |
1455 </p> |
1455 </p> |
1456 |
1456 |
1457 <dl> |
1457 <dl> |
1458 |
1458 |
1459 <dt><i>code</i> (str)</dt> |
1459 <dt><i>_code</i> (str)</dt> |
1460 <dd> |
1460 <dd> |
1461 code of the issue |
1461 code of the issue (unused) |
1462 </dd> |
1462 </dd> |
1463 <dt><i>line</i> (int)</dt> |
1463 <dt><i>line</i> (int)</dt> |
1464 <dd> |
1464 <dd> |
1465 line number of the issue |
1465 line number of the issue |
1466 </dd> |
1466 </dd> |
1483 tuple of (int, str, list or int, int) |
1483 tuple of (int, str, list or int, int) |
1484 </dd> |
1484 </dd> |
1485 </dl> |
1485 </dl> |
1486 <a NAME="CodeStyleFixer.__fixE261" ID="CodeStyleFixer.__fixE261"></a> |
1486 <a NAME="CodeStyleFixer.__fixE261" ID="CodeStyleFixer.__fixE261"></a> |
1487 <h4>CodeStyleFixer.__fixE261</h4> |
1487 <h4>CodeStyleFixer.__fixE261</h4> |
1488 <b>__fixE261</b>(<i>code, line, pos</i>) |
1488 <b>__fixE261</b>(<i>_code, line, pos</i>) |
1489 <p> |
1489 <p> |
1490 Private method to fix whitespace before or after inline comment. |
1490 Private method to fix whitespace before or after inline comment. |
1491 </p> |
1491 </p> |
1492 <p> |
1492 <p> |
1493 Codes: E261, E262 |
1493 Codes: E261, E262 |
1494 </p> |
1494 </p> |
1495 |
1495 |
1496 <dl> |
1496 <dl> |
1497 |
1497 |
1498 <dt><i>code</i> (str)</dt> |
1498 <dt><i>_code</i> (str)</dt> |
1499 <dd> |
1499 <dd> |
1500 code of the issue |
1500 code of the issue (unused) |
1501 </dd> |
1501 </dd> |
1502 <dt><i>line</i> (int)</dt> |
1502 <dt><i>line</i> (int)</dt> |
1503 <dd> |
1503 <dd> |
1504 line number of the issue |
1504 line number of the issue |
1505 </dd> |
1505 </dd> |
1652 tuple of (int, str, list or int, int) |
1652 tuple of (int, str, list or int, int) |
1653 </dd> |
1653 </dd> |
1654 </dl> |
1654 </dl> |
1655 <a NAME="CodeStyleFixer.__fixE502" ID="CodeStyleFixer.__fixE502"></a> |
1655 <a NAME="CodeStyleFixer.__fixE502" ID="CodeStyleFixer.__fixE502"></a> |
1656 <h4>CodeStyleFixer.__fixE502</h4> |
1656 <h4>CodeStyleFixer.__fixE502</h4> |
1657 <b>__fixE502</b>(<i>code, line, pos</i>) |
1657 <b>__fixE502</b>(<i>_code, line, _pos</i>) |
1658 <p> |
1658 <p> |
1659 Private method to fix redundant backslash within brackets. |
1659 Private method to fix redundant backslash within brackets. |
1660 </p> |
1660 </p> |
1661 <p> |
1661 <p> |
1662 Codes: E502 |
1662 Codes: E502 |
1663 </p> |
1663 </p> |
1664 |
1664 |
1665 <dl> |
1665 <dl> |
1666 |
1666 |
1667 <dt><i>code</i> (str)</dt> |
1667 <dt><i>_code</i> (str)</dt> |
1668 <dd> |
1668 <dd> |
1669 code of the issue |
1669 code of the issue (unused) |
1670 </dd> |
1670 </dd> |
1671 <dt><i>line</i> (int)</dt> |
1671 <dt><i>line</i> (int)</dt> |
1672 <dd> |
1672 <dd> |
1673 line number of the issue |
1673 line number of the issue |
1674 </dd> |
1674 </dd> |
1675 <dt><i>pos</i> (int)</dt> |
1675 <dt><i>_pos</i> (int)</dt> |
1676 <dd> |
1676 <dd> |
1677 position inside line |
1677 position inside line (unused) |
1678 </dd> |
1678 </dd> |
1679 </dl> |
1679 </dl> |
1680 <dl> |
1680 <dl> |
1681 <dt>Return:</dt> |
1681 <dt>Return:</dt> |
1682 <dd> |
1682 <dd> |
1777 tuple of (int, str, list or int, int) |
1777 tuple of (int, str, list or int, int) |
1778 </dd> |
1778 </dd> |
1779 </dl> |
1779 </dl> |
1780 <a NAME="CodeStyleFixer.__fixE711" ID="CodeStyleFixer.__fixE711"></a> |
1780 <a NAME="CodeStyleFixer.__fixE711" ID="CodeStyleFixer.__fixE711"></a> |
1781 <h4>CodeStyleFixer.__fixE711</h4> |
1781 <h4>CodeStyleFixer.__fixE711</h4> |
1782 <b>__fixE711</b>(<i>code, line, pos</i>) |
1782 <b>__fixE711</b>(<i>_code, line, pos</i>) |
1783 <p> |
1783 <p> |
1784 Private method to fix comparison with None. |
1784 Private method to fix comparison with None. |
1785 </p> |
1785 </p> |
1786 <p> |
1786 <p> |
1787 Codes: E711, E712 |
1787 Codes: E711, E712 |
1788 </p> |
1788 </p> |
1789 |
1789 |
1790 <dl> |
1790 <dl> |
1791 |
1791 |
1792 <dt><i>code</i> (str)</dt> |
1792 <dt><i>_code</i> (str)</dt> |
1793 <dd> |
1793 <dd> |
1794 code of the issue |
1794 code of the issue (unused) |
1795 </dd> |
1795 </dd> |
1796 <dt><i>line</i> (int)</dt> |
1796 <dt><i>line</i> (int)</dt> |
1797 <dd> |
1797 <dd> |
1798 line number of the issue |
1798 line number of the issue |
1799 </dd> |
1799 </dd> |
1903 tuple of (int, str, list or int, int) |
1903 tuple of (int, str, list or int, int) |
1904 </dd> |
1904 </dd> |
1905 </dl> |
1905 </dl> |
1906 <a NAME="CodeStyleFixer.__fixReindent" ID="CodeStyleFixer.__fixReindent"></a> |
1906 <a NAME="CodeStyleFixer.__fixReindent" ID="CodeStyleFixer.__fixReindent"></a> |
1907 <h4>CodeStyleFixer.__fixReindent</h4> |
1907 <h4>CodeStyleFixer.__fixReindent</h4> |
1908 <b>__fixReindent</b>(<i>line, pos, logical</i>) |
1908 <b>__fixReindent</b>(<i>line, _pos, logical</i>) |
1909 <p> |
1909 <p> |
1910 Private method to fix a badly indented line. |
1910 Private method to fix a badly indented line. |
1911 </p> |
1911 </p> |
1912 <p> |
1912 <p> |
1913 This is done by adding or removing from its initial indent only. |
1913 This is done by adding or removing from its initial indent only. |
1917 |
1917 |
1918 <dt><i>line</i> (int)</dt> |
1918 <dt><i>line</i> (int)</dt> |
1919 <dd> |
1919 <dd> |
1920 line number of the issue |
1920 line number of the issue |
1921 </dd> |
1921 </dd> |
1922 <dt><i>pos</i> (int)</dt> |
1922 <dt><i>_pos</i> (int)</dt> |
1923 <dd> |
1923 <dd> |
1924 position inside line |
1924 position inside line (unused) |
1925 </dd> |
1925 </dd> |
1926 <dt><i>logical</i> (str)</dt> |
1926 <dt><i>logical</i> (str)</dt> |
1927 <dd> |
1927 <dd> |
1928 logical line structure |
1928 logical line structure |
1929 </dd> |
1929 </dd> |
1947 raised to indicate a bad 'logical' parameter |
1947 raised to indicate a bad 'logical' parameter |
1948 </dd> |
1948 </dd> |
1949 </dl> |
1949 </dl> |
1950 <a NAME="CodeStyleFixer.__fixW291" ID="CodeStyleFixer.__fixW291"></a> |
1950 <a NAME="CodeStyleFixer.__fixW291" ID="CodeStyleFixer.__fixW291"></a> |
1951 <h4>CodeStyleFixer.__fixW291</h4> |
1951 <h4>CodeStyleFixer.__fixW291</h4> |
1952 <b>__fixW291</b>(<i>code, line, pos</i>) |
1952 <b>__fixW291</b>(<i>_code, line, _pos</i>) |
1953 <p> |
1953 <p> |
1954 Private method to fix trailing whitespace. |
1954 Private method to fix trailing whitespace. |
1955 </p> |
1955 </p> |
1956 <p> |
1956 <p> |
1957 Codes: W291, W293 |
1957 Codes: W291, W293 |
1958 </p> |
1958 </p> |
1959 |
1959 |
1960 <dl> |
1960 <dl> |
1961 |
1961 |
1962 <dt><i>code</i> (str)</dt> |
1962 <dt><i>_code</i> (str)</dt> |
1963 <dd> |
1963 <dd> |
1964 code of the issue |
1964 code of the issue (unused) |
1965 </dd> |
1965 </dd> |
1966 <dt><i>line</i> (int)</dt> |
1966 <dt><i>line</i> (int)</dt> |
1967 <dd> |
1967 <dd> |
1968 line number of the issue |
1968 line number of the issue |
1969 </dd> |
1969 </dd> |
1970 <dt><i>pos</i> (int)</dt> |
1970 <dt><i>_pos</i> (int)</dt> |
1971 <dd> |
1971 <dd> |
1972 position inside line |
1972 position inside line (unused) |
1973 </dd> |
1973 </dd> |
1974 </dl> |
1974 </dl> |
1975 <dl> |
1975 <dl> |
1976 <dt>Return:</dt> |
1976 <dt>Return:</dt> |
1977 <dd> |
1977 <dd> |
1986 tuple of (int, str, list or int, int) |
1986 tuple of (int, str, list or int, int) |
1987 </dd> |
1987 </dd> |
1988 </dl> |
1988 </dl> |
1989 <a NAME="CodeStyleFixer.__fixW292" ID="CodeStyleFixer.__fixW292"></a> |
1989 <a NAME="CodeStyleFixer.__fixW292" ID="CodeStyleFixer.__fixW292"></a> |
1990 <h4>CodeStyleFixer.__fixW292</h4> |
1990 <h4>CodeStyleFixer.__fixW292</h4> |
1991 <b>__fixW292</b>(<i>code, line, pos</i>) |
1991 <b>__fixW292</b>(<i>_code, line, _pos</i>) |
1992 <p> |
1992 <p> |
1993 Private method to fix a missing newline at the end of file. |
1993 Private method to fix a missing newline at the end of file. |
1994 </p> |
1994 </p> |
1995 <p> |
1995 <p> |
1996 Codes: W292 |
1996 Codes: W292 |
1997 </p> |
1997 </p> |
1998 |
1998 |
1999 <dl> |
1999 <dl> |
2000 |
2000 |
2001 <dt><i>code</i> (str)</dt> |
2001 <dt><i>_code</i> (str)</dt> |
2002 <dd> |
2002 <dd> |
2003 code of the issue |
2003 code of the issue (unused) |
2004 </dd> |
2004 </dd> |
2005 <dt><i>line</i> (int)</dt> |
2005 <dt><i>line</i> (int)</dt> |
2006 <dd> |
2006 <dd> |
2007 line number of the issue |
2007 line number of the issue |
2008 </dd> |
2008 </dd> |
2009 <dt><i>pos</i> (int)</dt> |
2009 <dt><i>_pos</i> (int)</dt> |
2010 <dd> |
2010 <dd> |
2011 position inside line |
2011 position inside line (unused) |
2012 </dd> |
2012 </dd> |
2013 </dl> |
2013 </dl> |
2014 <dl> |
2014 <dl> |
2015 <dt>Return:</dt> |
2015 <dt>Return:</dt> |
2016 <dd> |
2016 <dd> |
2025 tuple of (int, str, list or int, int) |
2025 tuple of (int, str, list or int, int) |
2026 </dd> |
2026 </dd> |
2027 </dl> |
2027 </dl> |
2028 <a NAME="CodeStyleFixer.__fixW391" ID="CodeStyleFixer.__fixW391"></a> |
2028 <a NAME="CodeStyleFixer.__fixW391" ID="CodeStyleFixer.__fixW391"></a> |
2029 <h4>CodeStyleFixer.__fixW391</h4> |
2029 <h4>CodeStyleFixer.__fixW391</h4> |
2030 <b>__fixW391</b>(<i>code, line, pos</i>) |
2030 <b>__fixW391</b>(<i>_code, line, _pos</i>) |
2031 <p> |
2031 <p> |
2032 Private method to fix trailing blank lines. |
2032 Private method to fix trailing blank lines. |
2033 </p> |
2033 </p> |
2034 <p> |
2034 <p> |
2035 Codes: W391 |
2035 Codes: W391 |
2036 </p> |
2036 </p> |
2037 |
2037 |
2038 <dl> |
2038 <dl> |
2039 |
2039 |
2040 <dt><i>code</i> (str)</dt> |
2040 <dt><i>_code</i> (str)</dt> |
2041 <dd> |
2041 <dd> |
2042 code of the issue |
2042 code of the issue (unused) |
2043 </dd> |
2043 </dd> |
2044 <dt><i>line</i> (int)</dt> |
2044 <dt><i>line</i> (int)</dt> |
2045 <dd> |
2045 <dd> |
2046 line number of the issue |
2046 line number of the issue |
2047 </dd> |
2047 </dd> |
2048 <dt><i>pos</i> (int)</dt> |
2048 <dt><i>_pos</i> (int)</dt> |
2049 <dd> |
2049 <dd> |
2050 position inside line |
2050 position inside line (unused) |
2051 </dd> |
2051 </dd> |
2052 </dl> |
2052 </dl> |
2053 <dl> |
2053 <dl> |
2054 <dt>Return:</dt> |
2054 <dt>Return:</dt> |
2055 <dd> |
2055 <dd> |
2064 tuple of (int, str, list or int, int) |
2064 tuple of (int, str, list or int, int) |
2065 </dd> |
2065 </dd> |
2066 </dl> |
2066 </dl> |
2067 <a NAME="CodeStyleFixer.__fixW603" ID="CodeStyleFixer.__fixW603"></a> |
2067 <a NAME="CodeStyleFixer.__fixW603" ID="CodeStyleFixer.__fixW603"></a> |
2068 <h4>CodeStyleFixer.__fixW603</h4> |
2068 <h4>CodeStyleFixer.__fixW603</h4> |
2069 <b>__fixW603</b>(<i>code, line, pos</i>) |
2069 <b>__fixW603</b>(<i>_code, line, _pos</i>) |
2070 <p> |
2070 <p> |
2071 Private method to fix the not equal notation. |
2071 Private method to fix the not equal notation. |
2072 </p> |
2072 </p> |
2073 <p> |
2073 <p> |
2074 Codes: W603 |
2074 Codes: W603 |
2075 </p> |
2075 </p> |
2076 |
2076 |
2077 <dl> |
2077 <dl> |
2078 |
2078 |
2079 <dt><i>code</i> (str)</dt> |
2079 <dt><i>_code</i> (str)</dt> |
2080 <dd> |
2080 <dd> |
2081 code of the issue |
2081 code of the issue (unused) |
2082 </dd> |
2082 </dd> |
2083 <dt><i>line</i> (int)</dt> |
2083 <dt><i>line</i> (int)</dt> |
2084 <dd> |
2084 <dd> |
2085 line number of the issue |
2085 line number of the issue |
2086 </dd> |
2086 </dd> |
2087 <dt><i>pos</i> (int)</dt> |
2087 <dt><i>_pos</i> (int)</dt> |
2088 <dd> |
2088 <dd> |
2089 position inside line |
2089 position inside line (unused) |
2090 </dd> |
2090 </dd> |
2091 </dl> |
2091 </dl> |
2092 <dl> |
2092 <dl> |
2093 <dt>Return:</dt> |
2093 <dt>Return:</dt> |
2094 <dd> |
2094 <dd> |