Skip to content

Move gdrift.constants import to notebook-only cell where it is used#32

Merged
sghelichkhani merged 2 commits into
mainfrom
fix/linting
Apr 8, 2026
Merged

Move gdrift.constants import to notebook-only cell where it is used#32
sghelichkhani merged 2 commits into
mainfrom
fix/linting

Conversation

@sghelichkhani

Copy link
Copy Markdown
Collaborator

The R_earth and R_cmb imports are only needed in the matplotlib visualisation block, which is tagged active-ipynb. Moving the import there fixes the unused-import linting warning in the plain Python script.

The R_earth and R_cmb imports are only needed in the matplotlib
visualisation block, which is tagged active-ipynb. Moving the import
there fixes the unused-import linting warning in the plain Python
script.
@sghelichkhani sghelichkhani merged commit bdded55 into main Apr 8, 2026
2 checks passed
@sghelichkhani sghelichkhani deleted the fix/linting branch April 8, 2026 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant