MAINT: Run PTH flake test in prep for supporting pathlib#16060
MAINT: Run PTH flake test in prep for supporting pathlib#16060MridulS wants to merge 1 commit intoastropy:mainfrom
Conversation
|
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
nstarman
left a comment
There was a problem hiding this comment.
Lots of good things in this PR! I have a few suggestions that are applicable in many places to further simplify the code, e.g. using read_text.
nstarman
left a comment
There was a problem hiding this comment.
Some of the os.path.join got replaced by os-dependent strings.
larrybradley
left a comment
There was a problem hiding this comment.
Fine for convolution and stats.
|
I am no ma...intainer. |
|
If you open an alternate PR, please link here and I can close this one (again). Thanks, all! |
|
Hi humans 👋 - this pull request hasn't had any new commits for approximately 6 months. I plan to close this in 30 days if the pull request doesn't have any new commits by then. In lieu of a stalled pull request, please consider closing this and open an issue instead if a reminder is needed to revisit in the future. Maintainers may also choose to add keep-open label to keep this PR open but it is discouraged unless absolutely necessary. If this PR still needs to be reviewed, as an author, you can rebase it to reset the clock. If you believe I commented on this pull request incorrectly, please report this here. |
|
Yes, I'll probably end up splitting this into smaller, subpackage-targetted PRs. Will try to get to it next week ! |
|
Since this PR is stale, instead of keeping it open, I have moved the idea to #16924 . Please continue there. Thanks! |
This PR starts work on making a unified i/o interface for reading and writing to disk. In some places using strings for filenames work, in other pathlib objects works too. We should be able to pass around
Pathobjects all around the code. For a first go I want to make thePTHruff flake8 linter happy.As a start this fixes ruff complaints in couple of sub packages. Didn't want to make the PR too big.
Also want to check if this works with windows CI all fine. (
pathlibhas had some issues with windows from what I remember).One way to go about #14893