PYTHON-6266In Progress
Make the synchro pre-commit hook atomic and write only real changes
h3. *Context* The {{synchro}} pre-commit hook regenerates the synchronous driver and test files in place, and the {{synchro-stage-files}} hook stages what it wrote. When a run fails partway, or a later hook fails, dozens of modified generated files are left in the working tree. [CONTRIBUTING.md|https://github.com/mongodb/mongo-python-driver/blob/master/CONTRIBUTING.md] documents this failure mode and a manual cleanup workaround. Developers must then tell their own changes apart from gene