Skip to content
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

Moved ON_GITHUB_ACTIONS and ON_READTHEDOCS to constants.py #1490

Merged
merged 5 commits into from
Feb 19, 2024

Conversation

york-stsci
Copy link
Collaborator

Added import statements as needed.

@pep8speaks
Copy link

pep8speaks commented Feb 19, 2024

Hello @york-stsci, Thank you for updating !

Cheers ! There are no PEP8 issues in this Pull Request. 🍻

Comment last updated at 2024-02-19 19:09:30 UTC

Copy link
Collaborator

@bhilbert4 bhilbert4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like there are a few files where ON_READTHEDOCS is not used, where these changes now import it. I can't claim to understand why RTD is not failing in these cases (maybe RTD does not look at unit test files?), but if we don't need ON_READTHEDOCS, then we shouldn't import it.

jwql/edb/engineering_database.py Show resolved Hide resolved
jwql/tests/test_preview_image.py Outdated Show resolved Hide resolved
jwql/utils/constants.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@mfixstsci mfixstsci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @york-stsci easy to review, hope it wasn't too hard to find all of the instances of ON_GITHUB_ACTIONS.

@mfixstsci mfixstsci merged commit 5805a60 into spacetelescope:develop Feb 19, 2024
6 checks passed
@york-stsci york-stsci deleted the github_ci branch February 19, 2024 19:55
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.

None yet

4 participants