Added
- Added
indent
option to pretty printer, which can be used to specify the indentation to use (defaulting to four spaces). This also allows using tab indentation.
Fixed
- Resolve names in
PropertyHook
s in theNameResolver
. - Include the trailing semicolon inside
Stmt\GroupUse
nodes, making them consistent withStmt\Use_
nodes. - Fixed indentation sometimes becoming negative in formatting-preserving pretty printer, resulting in
ValueError
s.