ParentFull threadjamessb·As a reformatting tool should only change the formatting, you could check that the Abstract Syntax Tree is unchanged. The ast module in the standard library gives access to the AST [1].[1]: https://docs.python.org/3/library/ast.htmlView on HN