Open tylerjereddy opened 1 year ago
Following on from gh-877, we could also consider auto-linting our code base to modernize for Python 3.7+ with the popular pyupgrade tool:
3.7+
pyupgrade
pyupgrade --py37-plus `find . -name "*.py" -type f`
I skimmed over the changes locally, and they seemed sensible enough. Net reduction in code on git diff --stat: 21 files changed, 30 insertions(+), 49 deletions(-).
git diff --stat
21 files changed, 30 insertions(+), 49 deletions(-)
Useful but low priority, IMO.
Following on from gh-877, we could also consider auto-linting our code base to modernize for Python
3.7+
with the popularpyupgrade
tool:I skimmed over the changes locally, and they seemed sensible enough. Net reduction in code on
git diff --stat
:21 files changed, 30 insertions(+), 49 deletions(-)
.Useful but low priority, IMO.