TST/DEP: drop pre-commit as a Python (test) dependency#18860
TST/DEP: drop pre-commit as a Python (test) dependency#18860pllim merged 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.
|
|
Welcome to Astropy 👋 and congratulations on your first pull request! 🎉 A project member will respond to you as soon as possible; in the meantime, please have a look over the Checklist for Contributed Code and make sure you've addressed as many of the questions there as possible. If you feel that this pull request has not been responded to in a timely manner, please send a message directly to the development mailing list. If the issue is urgent or sensitive in nature (e.g., a security vulnerability) please send an e-mail directly to the private e-mail feedback@astropy.org. |
|
👋 Thank you for your draft pull request! Do you know that you can use |
mhvk
left a comment
There was a problem hiding this comment.
Agreed. This does seem properly covered by the codestyle tox environment -- if needed, we could move its dependency requirements to pyproject.toml.
|
We could, using a dependency group, though that's beyond the scope of this PR. |
|
I don't understand the devdeps failures from units but they do not appear related. |
|
It's being addressed in #18849, FTR |
Description
Part of #18782
There are many reasons not to declare
pre-commitas a Python dependency:pre-commit-rustandprekalso exist), and there's no reason to only "support" onetox.iniconfiguration doesn't rely on it being a package dependency (see thecodestylefactor)Footnotes
though, FWIW, I do have the constraints figured out, if need be. ↩