[pre-commit.ci] pre-commit autoupdate (#451)
[pre-commit.ci] pre-commit autoupdate (#451)

<!--pre-commit.ci start-->
updates:
- [github.com/asottile/pyupgrade: v2.38.2 →
v3.0.0](https://github.com/asottile/pyupgrade/compare/v2.38.2...v3.0.0)
- [github.com/psf/black: 22.8.0 →
22.10.0](https://github.com/psf/black/compare/22.8.0...22.10.0)
- [github.com/pre-commit/mirrors-mypy: v0.981 →
v0.982](https://github.com/pre-commit/mirrors-mypy/compare/v0.981...v0.982)
<!--pre-commit.ci end-->

Co-authored-by: pre-commit-ci[bot] <3ea08453efb076ca910552532a53973a6527df40@users.noreply.github.com>
adamchainz/flake8-comprehensions