Causes syntax error: * [x] #1779 - underscore-separated numbers (inserts space) * [x] #1781 - raw strings (inserts space) * [x] #1783 - leading collecting var in unpacking (inserts space) * [ ] #1784 - int literal attr lookup (removes space) * [x] #1785 - *args (inserts space) (dupe #1783) * [x] #1791 - parens in conditional statements (removes spaces) (dupe #1780) Incorrect formatting: * [x] #1780 - parens in conditional statements (removes spaces) * [x] #1782 - matmul (removes spaces) * [x] #1786 - parens around expression (removes spaces) (dupe #1780?) * [x] #1787 - trailing comma (removes spaces) * [x] #1788 - LHS trailing comma (removes space) * [x] #1789 - single item unpacking (removes space) (dupe #1788) * [x] #1790 - unary operator (inserts space) * [ ] #1792 - slice notation (removes spaces) * [x] #1793 - type hints (removes spaces) * [ ] #1796 - kw args (inserts spaces)
Causes syntax error:
ifand opening parentheses #1791 - parens in conditional statements (removes spaces) (dupe Format on type with brackets in conditional statements removes empty space #1780)Incorrect formatting:
=for comma-trailing statements #1787 - trailing comma (removes spaces):acts like a binary operator #1792 - slice notation (removes spaces)=when used in type hints #1793 - type hints (removes spaces)