Formats Python files docstrings and generates patches