csdms / pymt

A Python toolkit for running and coupling Earth surface models
https://csdms.colorado.edu/wiki/PyMT
MIT License
51 stars 19 forks source link

Py source consistency using isort and pyupgrade tools, rm unused imports #163

Closed mwtoews closed 1 year ago

mwtoews commented 1 year ago

This PR is further clean-up, mostly automated with a few manual edits. Using isort, pyupgrade, also flake8 --select F401 to identify unused imports.

Also remove unused shebangs on non-executable module and test files.

mdpiper commented 1 year ago

@mwtoews Thank you for this contribution, and I apologize for getting to it so late!

@mcflugen I'm going to merge this PR despite the failing tests, since the changes here don't have any bearing on the tests. I've identified the reasons for the failing tests -- #162, #164, and https://github.com/permamodel/permamodel/issues/72 -- and I have a workaround for them in a separate branch.