Skip to content

Conversation

@xylar
Copy link
Collaborator

@xylar xylar commented Dec 21, 2024

This merge removes and very old __future__ imports needed for python 2 support.

It also makes changes needed to allow isort to include geometric_feature/__init__.py:

  • moves version info to version.py
  • updates __main__.py to not use shortcut in __init__.py and to use version info from version.py.
  • sorts imports in __init__.py.
  • updates various other places in the code to point to version.py for version info.

To support sorted imports, version info must be moved to its own
separate file and a few imports must no longer use the short-cut
version.
@xylar xylar added clean up ci Changes that affect github actions CI labels Dec 21, 2024
@xylar
Copy link
Collaborator Author

xylar commented Dec 21, 2024

As in #221, I'm going to ignore flake8 errors for now because we don't want to deal with them all in one go.

@xylar xylar merged commit c06adaf into MPAS-Dev:main Dec 21, 2024
5 of 6 checks passed
@xylar xylar deleted the remove-future-imports branch December 21, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Changes that affect github actions CI clean up

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant