Summary
Adopt linting and formatting rules from PyMongo.
Motivation
Make it easier to maintain the repo and do PR reviews.
Implmentation
- Create a PR with the autoformatting applied
- Create a follow up PR with a .git-blame-ignore-revs file, and the associated linting configuration.