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

MAINT: removing usage of deprecated astropy.utils.misc.indent #539

Merged
merged 2 commits into from
Apr 17, 2024

Conversation

bsipocz
Copy link
Member

@bsipocz bsipocz commented Apr 17, 2024

This should fix some CI failures in the devtest job.

@bsipocz bsipocz added this to the v1.5.2 milestone Apr 17, 2024
@bsipocz bsipocz requested a review from andamian April 17, 2024 17:02
@bsipocz
Copy link
Member Author

bsipocz commented Apr 17, 2024

Btw, only one of the 3 affected files caused a test failure which suggests some missing coverage (but fixing that points beyond the scope of this PR)

@@ -37,7 +37,7 @@ def describe(self):
Prints out a human readable description
"""
print("Datamodel {}".format(self.content))
print(indent(self.ivo_id))
print(indent(self.ivo_id, 4 * " "))
Copy link
Contributor

Choose a reason for hiding this comment

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

Could define 4 spaces as an INDENT const a refer to it through the file(s). Just a suggestion.

@bsipocz bsipocz force-pushed the MAINT_astropy6.1_indent_dep branch from 8136b91 to 2d3f380 Compare April 17, 2024 18:10
@bsipocz bsipocz merged commit 7e93d18 into astropy:main Apr 17, 2024
9 of 10 checks passed
bsipocz added a commit that referenced this pull request May 22, 2024
MAINT: removing usage of deprecated astropy.utils.misc.indent
@bsipocz bsipocz deleted the MAINT_astropy6.1_indent_dep branch June 18, 2024 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants