You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in .pre-commit-config.yaml, change the ref of pyupgrade 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 and pre-commit run pyupgrade --all-files both pass, then open a pull request 🚀
Issue here is:
.pre-commit-config.yaml
, change theref
ofpyupgrade
from v2.7.4 to v2.9.0pre-commit run pyupgrade --all-files
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)pre-commit run flake8 --all-files
andpre-commit run pyupgrade --all-files
both pass, then open a pull request 🚀xref #39521
The text was updated successfully, but these errors were encountered: