scripts: install and run pyupgrade (#31587)

old-commit-hash: 30afe2c231
chrysler-long2
Cameron Clough 1 year ago committed by GitHub
parent 2c33be7a9c
commit c32539b23a
  1. 7
      scripts/pyupgrade.sh

@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -e
pip install --upgrade pyupgrade
git ls-files '*.py' | grep -v 'third_party/' | xargs pyupgrade --py311-plus
Loading…
Cancel
Save