Closed
Description
Issue here is:
- in
.pre-commit-config.yaml
, change theref
ofpyupgrade
from v2.7.4 to v2.9.0 - run
pre-commit run pyupgrade --all-files
- run
pre-commit run flake8 --all-files
- there will be lots of errors from unused imports, so you should remove them (or you could look into using autoflake to do it for you) - if both
pre-commit run flake8 --all-files
andpre-commit run pyupgrade --all-files
both pass, then open a pull request 🚀
xref #39521