2 ms·
Black for Python compares the AST before and after formatting as an additional measure. Linters could ship with an option to verify if two inputs (past and curr
by aitchnyu 5y ago
Black for Python compares the AST before and after formatting as an additional measure. Linters could ship with an option to verify if two inputs (past and current version of file) are same in behavior but different in formatting, import order etc.