-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move the pygmt.show_versions
function to a separate file?
#3276
Comments
Oops, didn't see this when I opened #3277. I managed to fit things under 50 statements to fix the lint error, but we could move the |
I prefer to move the
|
Ok, I can move the function. Looking around, maybe we can put it under |
The "Style Checks" workflow fails with ruff 0.4.6 because the
show_versions()
function has too many branches (https://github.com/GenericMappingTools/pygmt/actions/runs/9277819313/job/25527714073):The
show_versions()
function is also long with ~100 lines. Perhaps we should move it out of thepygmt/__init__.py
file. Maybepygmt/show_versions.py
?pygmt/pygmt/__init__.py
Line 80 in 09e2352
The text was updated successfully, but these errors were encountered: