darshan-hpc / darshan

Darshan I/O characterization tool
Other
57 stars 28 forks source link

MAINT: maybe run pyupgrade #878

Open tylerjereddy opened 1 year ago

tylerjereddy commented 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:

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(-).

Useful but low priority, IMO.