PyMongo has updated settings for linters and formatters, and we should adopt them in pymongoarrow.
Update pre-commit and pyproject config.
N/A