2691902 | Clean up dead code in magic trailing comma logic ( | Shantanu | 2024-01-01 | 107 (0) | 208 (0) | 158 (0) | 111 (0) | 386 (0) | 12.7194 (0.0) | 29189.8 (0.0) | 17 (0) | 139 (0) | 315 (0) | 610 (+2) | 1126 (-3) | 0 (0) | 68 (-3) | 125 (0) | 775 (0) | 156 (0) | 2294.9 (0.0) |
8e0a9de | Remove empty lines before docstrings in async func | Shantanu | 2024-01-01 | 107 (0) | 208 (0) | 158 (0) | 111 (0) | 386 (-3) | 12.7194 (0.0) | 29189.8 (0.0) | 17 (0) | 139 (0) | 315 (0) | 608 (0) | 1129 (-6) | 0 (0) | 71 (0) | 125 (0) | 775 (-6) | 156 (0) | 2294.9 (0.0) |
fe33761 | Allow empty lines at beginnings of more blocks (#4 | Shantanu | 2024-01-01 | 107 (0) | 208 (0) | 158 (0) | 111 (0) | 389 (+4) | 12.7194 (0.0) | 29189.8 (0.0) | 17 (0) | 139 (0) | 315 (0) | 608 (+3) | 1135 (+3) | 0 (0) | 71 (0) | 125 (0) | 781 (+3) | 156 (0) | 2294.9 (0.0) |
db9c592 | Unify docstring detection (#4095)
Co-authored-by: | Jelle Zijlstra | 2023-12-28 | 107 (0) | 208 (0) | 158 (+1) | 111 (0) | 385 (+2) | 12.7194 (0.0) | 29189.8 (0.0) | 17 (0) | 139 (0) | 315 (0) | 605 (+6) | 1132 (+7) | 0 (0) | 71 (0) | 125 (+1) | 778 (+5) | 156 (0) | 2294.9 (0.0) |
c80685f | Treat walruses like other binary operators in subs | cobalt | 2023-12-28 | 107 (0) | 208 (0) | 157 (+1) | 111 (+2) | 383 (+1) | 12.7194 (0.0) | 29189.8 (0.0) | 17 (0) | 139 (0) | 315 (0) | 599 (+4) | 1125 (+7) | 0 (0) | 71 (0) | 124 (+2) | 773 (+4) | 156 (0) | 2294.9 (0.0) |
ce28be2 | Add dedicated preview feature for East Asian Width | Jelle Zijlstra | 2023-12-10 | 107 (+1) | 208 (+2) | 156 (0) | 109 (0) | 382 (0) | 12.7194 (+0.0310187) | 29189.8 (+385.234) | 17 (0) | 139 (+1) | 315 (+3) | 595 (0) | 1118 (0) | 0 (0) | 71 (0) | 122 (0) | 769 (0) | 156 (+1) | 2294.9 (+24.7509) |
61b529b | Allow empty lines at beginning of blocks (again) ( | Jelle Zijlstra | 2023-12-09 | 106 (0) | 206 (0) | 156 (0) | 109 (-1) | 382 (-2) | 12.6884 (0.0) | 28804.6 (0.0) | 17 (0) | 138 (0) | 312 (0) | 595 (0) | 1118 (-4) | 0 (0) | 71 (0) | 122 (+2) | 769 (-6) | 155 (0) | 2270.15 (0.0) |
fb5e5d2 | Prefer more equal signs before a break when splitt | Henri Holopainen | 2023-11-23 | 106 (0) | 206 (0) | 156 (+1) | 110 (0) | 384 (+2) | 12.6884 (0.0) | 28804.6 (0.0) | 17 (0) | 138 (0) | 312 (0) | 595 (+4) | 1122 (+5) | 0 (0) | 71 (0) | 120 (+1) | 775 (+3) | 155 (0) | 2270.15 (0.0) |
89e28ea | Permit standalone form feed characters at the modu | tungol | 2023-11-21 | 106 (0) | 206 (0) | 155 (0) | 110 (0) | 382 (+4) | 12.6884 (0.0) | 28804.6 (0.0) | 17 (0) | 138 (0) | 312 (0) | 591 (+4) | 1117 (+8) | 0 (0) | 71 (0) | 119 (0) | 772 (+8) | 155 (0) | 2270.15 (0.0) |
72e7a2e | Remove redundant condition from `has_magic_trailin | Ran Benita | 2023-11-08 | 106 (0) | 206 (0) | 155 (-1) | 110 (0) | 378 (-4) | 12.6884 (0.0) | 28804.6 (0.0) | 17 (0) | 138 (0) | 312 (0) | 587 (-5) | 1109 (-15) | 0 (0) | 71 (0) | 119 (0) | 764 (-14) | 155 (0) | 2270.15 (0.0) |
66008fd | [563] Fix standalone comments inside complex block | Henri Holopainen | 2023-11-07 | 106 (+9) | 206 (+18) | 156 (+2) | 110 (+2) | 382 (+9) | 12.6884 (+0.00586611) | 28804.6 (+2925.07) | 17 (0) | 138 (+12) | 312 (+27) | 592 (+8) | 1124 (+19) | 0 (0) | 71 (0) | 119 (+2) | 778 (+15) | 155 (+12) | 2270.15 (+229.587) |
e808e61 | Preview: Keep requiring two empty lines between mo | Yilei Yang | 2023-11-06 | 97 (0) | 188 (0) | 154 (0) | 108 (0) | 373 (+2) | 12.6825 (0.0) | 25879.5 (0.0) | 17 (0) | 126 (0) | 285 (0) | 584 (0) | 1105 (+1) | 0 (0) | 71 (0) | 117 (0) | 763 (+1) | 143 (0) | 2040.56 (0.0) |
2db5ab0 | Allow empty line after block open before a comment | Henri Holopainen | 2023-10-23 | 97 (0) | 188 (0) | 154 (+1) | 108 (+3) | 371 (+11) | 12.6825 (0.0) | 25879.5 (0.0) | 17 (0) | 126 (0) | 285 (0) | 584 (+1) | 1104 (+25) | 0 (0) | 71 (0) | 117 (0) | 762 (+24) | 143 (0) | 2040.56 (0.0) |
882d879 | Fix merging implicit multiline strings that have i | Henri Holopainen | 2023-10-20 | 97 (0) | 188 (0) | 153 (+1) | 105 (0) | 360 (+6) | 12.6825 (0.0) | 25879.5 (0.0) | 17 (0) | 126 (0) | 285 (0) | 583 (+12) | 1079 (+15) | 0 (0) | 71 (0) | 117 (+1) | 738 (+13) | 143 (0) | 2040.56 (0.0) |
abe57e3 | Treat raw strings like other docstrings (#3947)
F | Jelle Zijlstra | 2023-10-16 | 97 (0) | 188 (0) | 152 (0) | 105 (0) | 354 (+3) | 12.6825 (0.0) | 25879.5 (0.0) | 17 (0) | 126 (0) | 285 (0) | 571 (+7) | 1064 (+5) | 0 (0) | 71 (0) | 116 (0) | 725 (+5) | 143 (0) | 2040.56 (0.0) |
b7717c3 | Standardise newlines after module-level docstrings | Daniël van Noord | 2023-10-09 | 97 (0) | 188 (0) | 152 (+1) | 105 (0) | 351 (+7) | 12.6825 (0.0) | 25879.5 (0.0) | 17 (0) | 126 (0) | 285 (0) | 564 (+2) | 1059 (+9) | 0 (0) | 71 (0) | 116 (0) | 720 (+8) | 143 (0) | 2040.56 (0.0) |
b40b01f | Blank line between nested and function def in stub | konsti | 2023-09-08 | 97 (0) | 188 (0) | 151 (0) | 105 (+6) | 344 (+2) | 12.6825 (0.0) | 25879.5 (0.0) | 17 (0) | 126 (0) | 285 (0) | 562 (+2) | 1050 (+11) | 0 (0) | 71 (0) | 116 (+6) | 712 (+5) | 143 (0) | 2040.56 (0.0) |
a20338c | Avoid removing whitespace for walrus operators wit | Charlie Marsh | 2023-09-08 | 97 (0) | 188 (0) | 151 (0) | 99 (0) | 342 (0) | 12.6825 (0.0) | 25879.5 (0.0) | 17 (0) | 126 (0) | 285 (0) | 560 (0) | 1039 (+2) | 0 (0) | 71 (0) | 110 (0) | 707 (+2) | 143 (0) | 2040.56 (0.0) |
c160e4b | More concise formatting for dummy implementations | Shantanu | 2023-08-03 | 97 (0) | 188 (0) | 151 (+2) | 99 (+3) | 342 (+9) | 12.6825 (0.0) | 25879.5 (0.0) | 17 (0) | 126 (0) | 285 (0) | 560 (+8) | 1037 (+19) | 0 (0) | 71 (0) | 110 (+3) | 705 (+14) | 143 (0) | 2040.56 (0.0) |
e7e8d62 | Simplify empty line tracker (#3797)
| Shantanu | 2023-07-22 | 97 (0) | 188 (0) | 149 (+3) | 96 (0) | 333 (+1) | 12.6825 (0.0) | 25879.5 (0.0) | 17 (0) | 126 (0) | 285 (0) | 552 (+2) | 1018 (+5) | 0 (0) | 71 (0) | 107 (0) | 691 (+2) | 143 (0) | 2040.56 (0.0) |
63481bb | Fix a magical comment caused internal error (#3740 | rdrll | 2023-06-27 | 97 (0) | 188 (0) | 146 (0) | 96 (0) | 332 (0) | 12.6825 (0.0) | 25879.5 (0.0) | 17 (0) | 126 (0) | 285 (0) | 550 (0) | 1013 (+1) | 0 (0) | 71 (0) | 107 (0) | 689 (+1) | 143 (0) | 2040.56 (0.0) |
2fd9d8b | Remove blank lines before class docstring (#3692)
| Jonathan Berthias | 2023-05-18 | 97 (0) | 188 (0) | 146 (0) | 96 (0) | 332 (+1) | 12.6825 (0.0) | 25879.5 (0.0) | 17 (0) | 126 (0) | 285 (0) | 550 (+2) | 1012 (+2) | 0 (0) | 71 (0) | 107 (0) | 688 (+2) | 143 (0) | 2040.56 (0.0) |
02f81c6 | Fix two more mypyc issues with mypyc v1.2.0. (#364 | Yilei "Dolee" Yang | 2023-04-14 | 97 (0) | 188 (0) | 146 (0) | 96 (0) | 331 (0) | 12.6825 (0.0) | 25879.5 (0.0) | 17 (0) | 126 (0) | 285 (0) | 548 (+1) | 1010 (0) | 0 (0) | 71 (0) | 107 (0) | 686 (0) | 143 (0) | 2040.56 (0.0) |
ef6e079 | Let string splitters respect `East_Asian_Width` pr | Hong Minhee (洪 民憙) | 2023-03-19 | 97 (0) | 188 (0) | 146 (+1) | 96 (0) | 331 (+1) | 12.6825 (0.0) | 25879.5 (0.0) | 17 (0) | 126 (0) | 285 (0) | 547 (+2) | 1010 (+3) | 0 (0) | 71 (0) | 107 (0) | 686 (+2) | 143 (0) | 2040.56 (0.0) |
d7a28dd | Enforce a blank line after a nested class in stubs | WMOkiishi | 2023-03-18 | 97 (0) | 188 (0) | 145 (0) | 96 (0) | 330 (+4) | 12.6825 (0.0) | 25879.5 (0.0) | 17 (0) | 126 (0) | 285 (0) | 545 (+2) | 1007 (+6) | 0 (0) | 71 (0) | 107 (0) | 684 (+6) | 143 (0) | 2040.56 (0.0) |
268dcb6 | Do not add an extra blank line to an import line t | Yilei "Dolee" Yang | 2023-03-18 | 97 (0) | 188 (0) | 145 (+2) | 96 (0) | 326 (+7) | 12.6825 (0.0) | 25879.5 (0.0) | 17 (0) | 126 (0) | 285 (0) | 543 (+8) | 1001 (+21) | 0 (-0.943373) | 71 (+4) | 107 (0) | 678 (+15) | 143 (0) | 2040.56 (0.0) |
d16a1db | Consistently wrap two context managers in parens ( | Yilei "Dolee" Yang | 2023-03-10 | 97 (+4) | 188 (+9) | 143 (+5) | 96 (+7) | 319 (+7) | 12.6825 (+0.00337302) | 25879.5 (+1400.31) | 17 (0) | 126 (+6) | 285 (+13) | 535 (+22) | 980 (+34) | 0.943373 (-1.17282) | 67 (0) | 107 (+9) | 663 (+20) | 143 (+6) | 2040.56 (+109.899) |
4a063a9 | Improve multiline string handling (#1879)
Co-auth | Aneesh Agrawal | 2023-03-07 | 93 (+33) | 179 (+66) | 138 (+8) | 89 (+19) | 312 (+24) | 12.6792 (+1.08942) | 24479.2 (+11337.1) | 17 (+1) | 120 (+42) | 272 (+99) | 513 (+51) | 946 (+78) | 2.11619 (-4.21131) | 67 (+2) | 98 (+16) | 643 (+52) | 137 (+43) | 1930.66 (+796.721) |
c4bd2e3 | Draft for Black 2023 stable style (#3418)
| Jelle Zijlstra | 2023-01-31 | 60 (0) | 113 (0) | 130 (0) | 70 (0) | 288 (-5) | 11.5897 (0.0) | 13142.1 (0.0) | 16 (0) | 78 (0) | 173 (0) | 462 (-2) | 868 (-10) | 6.3275 (+0.734547) | 65 (-1) | 82 (0) | 591 (-9) | 94 (0) | 1133.94 (0.0) |
29dd257 | Fix an issue where extra empty lines are added. (# | Yilei "Dolee" Yang | 2022-12-20 | 60 (0) | 113 (0) | 130 (0) | 70 (+1) | 293 (+1) | 11.5897 (0.0) | 13142.1 (0.0) | 16 (0) | 78 (0) | 173 (0) | 464 (0) | 878 (+1) | 5.59296 (-0.0900828) | 66 (0) | 82 (+1) | 600 (0) | 94 (0) | 1133.94 (0.0) |
8091b25 | Correctly handle trailing commas that are inside a | Yilei "Dolee" Yang | 2022-11-09 | 60 (0) | 113 (0) | 130 (0) | 69 (0) | 292 (+1) | 11.5897 (0.0) | 13142.1 (0.0) | 16 (0) | 78 (0) | 173 (0) | 464 (0) | 877 (+2) | 5.68304 (-0.166832) | 66 (0) | 81 (0) | 600 (+2) | 94 (0) | 1133.94 (0.0) |
4abc039 | Enforce empty lines before classes/functions with | Yilei "Dolee" Yang | 2022-10-25 | 60 (0) | 113 (0) | 130 (+7) | 69 (+2) | 291 (+26) | 11.5897 (0.0) | 13142.1 (0.0) | 16 (0) | 78 (0) | 173 (0) | 464 (+38) | 875 (+64) | 5.84987 (-3.95279) | 66 (+4) | 81 (+1) | 598 (+52) | 94 (0) | 1133.94 (0.0) |
4ebf14d | Strip trailing commas in subscripts with -C (#3209 | Shantanu | 2022-08-13 | 60 (0) | 113 (0) | 123 (+1) | 67 (0) | 265 (+3) | 11.5897 (0.0) | 13142.1 (0.0) | 16 (0) | 78 (0) | 173 (0) | 426 (+4) | 811 (+16) | 9.80266 (-0.640251) | 62 (+2) | 80 (0) | 546 (+13) | 94 (0) | 1133.94 (0.0) |
411ed77 | Bump pre-commit hooks (#3191)
| Richard Si | 2022-07-27 | 60 (0) | 113 (0) | 122 (-1) | 67 (0) | 262 (0) | 11.5897 (0.0) | 13142.1 (0.0) | 16 (0) | 78 (0) | 173 (0) | 422 (-4) | 795 (+9) | 10.4429 (-0.0587953) | 60 (0) | 80 (0) | 533 (+10) | 94 (0) | 1133.94 (0.0) |
e0a780a | Add isort to linting toolchain
Co-authored-by: Sh | Richard Si | 2022-07-27 | 60 (0) | 113 (0) | 123 (+1) | 67 (0) | 262 (0) | 11.5897 (0.0) | 13142.1 (0.0) | 16 (0) | 78 (0) | 173 (0) | 426 (+4) | 786 (-9) | 10.5017 (+0.0587953) | 60 (0) | 80 (0) | 523 (-10) | 94 (0) | 1133.94 (0.0) |
44d5da0 | Reformat codebase with isort
| Richard Si | 2022-07-27 | 60 (0) | 113 (0) | 122 (-1) | 67 (0) | 262 (0) | 11.5897 (0.0) | 13142.1 (0.0) | 16 (0) | 78 (0) | 173 (0) | 422 (-4) | 795 (+9) | 10.4429 (-0.0587953) | 60 (0) | 80 (0) | 533 (+10) | 94 (0) | 1133.94 (0.0) |
4bb7bf2 | Remove newline after code block open (#3035)
Co-a | Sagi Shadur | 2022-06-11 | 60 (0) | 113 (0) | 123 (+1) | 67 (0) | 262 (+6) | 11.5897 (0.0) | 13142.1 (0.0) | 16 (0) | 78 (0) | 173 (0) | 426 (+8) | 786 (+13) | 10.5017 (-1.10655) | 60 (0) | 80 (+1) | 523 (+11) | 94 (0) | 1133.94 (0.0) |
3800ebd | Avoid magic-trailing-comma in single-element subsc | Joe Young | 2022-03-23 | 60 (0) | 113 (0) | 122 (+1) | 67 (0) | 256 (+5) | 11.5897 (0.0) | 13142.1 (0.0) | 16 (0) | 78 (0) | 173 (0) | 418 (+2) | 773 (+15) | 11.6083 (-0.926485) | 60 (+1) | 79 (0) | 512 (+13) | 94 (0) | 1133.94 (0.0) |