- When finding files in a git repo, search from root not current directory - Keep `else: pass` blocks if they contain any comments - Leave `Optional[Literal[...]]` alone too - Merge `isinstance(x, y) or isinstance(x, z)` to `isinstance(x, (y, z))`
0.9.7
- Dropped `teyit` because `pyupgrade` now handles deprecated unittest methods - Don't merge `None` into `Literal` types; it's easier to read `| None` - Avoid crashing on some rare and questionable code patterns - With `--refactor`, remove `else: pass` blocks - With `--refactor`, "unwrap" lambdas - e.g. `lambda x: sorted(x)` -> `sorted`
0.9.6
- Several new custom refactoring passes (37, 38, 39, 40)
0.9.5
- Supports (and requires) new version of `pyupgrade`
0.9.4
- Performance optimizations, reducing startup latency via deferred imports
0.9.3
- Fixed an internal error on ` isort: skip_file` (32)