Commit Graph

1207 Commits (main)
 

Author SHA1 Message Date
Bill Wendling ed41f07e86
Change indentation 5 days ago
Yilei "Dolee" Yang e097907c2c
Also support Black's `# fmt: off/on` pragma. (#1026) 5 days ago
Bill Wendling 212c5b5ad8 Add missing commit 7 months ago
Bill Wendling b96fbe9627 Fix multiple # in comment warning. 7 months ago
Andrii Oriekhov f210c396e8
add GitHub URL for PyPi (#997) 7 months ago
Bill Wendling 520bd7def0 Remove bad comment markers 7 months ago
Bill Wendling 95d191c5e6 Don't use pytree 'node' to access values 7 months ago
Bill Wendling ba205258d9 Pass in the node's name 7 months ago
Bill Wendling 0fee494946 Decorators aren't in the same range as the function def node 7 months ago
Bill Wendling e82fd79a9c Handle argument annotations. 7 months ago
Bill Wendling a0648af16f Clean up how multiline lambdas are handled 7 months ago
Bill Wendling 8e64fdb698 Clean up API so that we don't have to pass in start and end tuples 7 months ago
Bill Wendling fd619806ea Use "for ... enumerate(...)" instead of the awkward "for" loop 7 months ago
Bill Wendling 0f81f3a8bb Explain the "decorator" code a bit better 7 months ago
Bill Wendling cff09e2eab Fix some minor wording and capitalization. 7 months ago
Bill Wendling ea55af120b Make sure the things we're formatted exist 7 months ago
Bill Wendling 5e1efb9a05 Don't try to reformat formatted values 7 months ago
Bill Wendling 2fe32f6052 Reformat 7 months ago
Bill Wendling e5e568183d Comment the method and move "import ast" into the debugging code 7 months ago
Bill Wendling aa0a97abdf Fixup missing locations 7 months ago
Bill Wendling 98e2d27791 Fix tests 8 months ago
Mauricio Herrera Cuadra fb0fbb4772
Added pyproject extra to install toml package as an optional dependency (#964) 8 months ago
Bill Wendling b49a261870 Remove unused variable 9 months ago
Bill Wendling 4c36d589e7 Use correct variable 9 months ago
Bill Wendling c4d4c6cb30 Mark test target as "noqa" 9 months ago
Bill Wendling 516e197de9 Add the beginnings of a simple Python parser. 9 months ago
Nuri Jung 3684f3c6ba
Split line before all comparison operators (#988) 9 months ago
Bill Wendling 74864e7da8 Reformat 9 months ago
Hugo van Kemenade e02dfd19ca
Add support for Python 3.10 (#986) 9 months ago
Bill Wendling ebd977af00 Use OpensScope/ClosesScope instead of testing token's text 9 months ago
Bill Wendling c8d9637ac6 Remove "AppendNode", which wasn't that useful 9 months ago
Bill Wendling 202749be5b Move pytree-specific visitors to appropriate subdirectory 9 months ago
Bill Wendling 831fb3d38d [pytree] moved 'pytree' parsing tools into its own subdirectory 9 months ago
Bill Wendling 17aac850cb [imports] remove unused imports 9 months ago
Bill Wendling c0866920fa [file_resources] use "tokenize.detect_encoding" for Python3+ 9 months ago
Bill Wendling df41578454 Fix RST formatting. 9 months ago
Bill Wendling d3873c0693 Bump version to 0.32.0 9 months ago
Bill Wendling 373a2b7645 Reformatting. 9 months ago
Bill Wendling 5b75e6fd87 Use "logical line" instead of "unwrapped line" 9 months ago
Bill Wendling 46180bc4f9 Add "start" and "end" properties 9 months ago
Bill Wendling 42f4da7d95 Use a set for subtypes. 9 months ago
Bill Wendling d68b756780 Fixup YapfError messages 9 months ago
Bill Wendling cc7770bb3c Add "splitpenalty" to the format_token repr 9 months ago
Bill Wendling 76b039c125 Move subtypes into their own module. 9 months ago
Bill Wendling 1c73ccc981 Remove useless a_expr and m_expr subtypes 9 months ago
Bill Wendling 5bc5a7b3e7 Fix up the "name" and "is_docstring" bits of a format_token 9 months ago
Bill Wendling cb0bb0eb81 Remove unused import 9 months ago
Bill Wendling ab9e35cf83 Compare the node's type instead of its name 9 months ago
Bill Wendling 707c457a03 Use Python's argument parser's "version" action 9 months ago
Bill Wendling c79578a8f8 Unify the YAPF exceptions 9 months ago