scripts: install and run pyupgrade (#31587)

This commit is contained in:
Cameron Clough
2024-02-25 17:26:11 +00:00
committed by GitHub
parent be8e503a7d
commit 30afe2c231

7
scripts/pyupgrade.sh Executable file
View File

@@ -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