lint: Add a lot of opinionated linters
Add a pre-commit configuration to apply a collection of linting and formatting plugins. These will be automatically run by tox in CI, but can also be setup to run as a pre-commit action in the local repo.
Highlights:
- Use black for code formatting
- Use isort for import formatting
- Add a number of flake8 plugins including bugbear and spellcheck