-
Notifications
You must be signed in to change notification settings - Fork 12
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
feat: support repo-review #105
feat: support repo-review #105
Conversation
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Thank you very much @henryiii, it does look very interesting and probably very good to add the integration. I have a question, though:
Footnotes
|
I was wondering about that! Yes, it’s easily possible. All functions (fixtures, checks, family collection, and check collection) can request fixtures. So we can add it above. Will do later. |
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Not sure what to do about coverage. It'd not happy for Python 3.6-3.9 since repo-review is 3.10+ only. Combined coverage would be fine, and 3.10+ is fine. |
Thank you very much @henryiii, that looks very good.
Coverage reports are always tricky aren't they? For me it feels always like a cat and mouse game... I think the PR is in a good shape and can be included in the next release of I would like to discuss a few minor things that I was planning to do after the merge to see your feedback. These are changes that I can do myself if you are OK with them:
|
Up to you. IMO, you have to combine coverage to make it useful, there will pretty much always be version dependent code. Otherwise, you could just run one coverage job (3.10 or 3.11), and just use that. Quite up to you, though.
Sure, I went ahead and did that.
Sure, I went ahead and did that. Though, I don't think it's actually helpful to continue to support old Python versions, it's negativity affecting this repo (no future import causing dependence on deprecated Dict and such, as well as that's there reason that PEP 621 isn't available, etc) and actually may increase the maintenance burden for others. For example, Cython 3 was released including Python 2.7 & 3.4+ (at least 2.6 was dropped!). This caused breakages with packages that have no interest in ever releasing a fix for these old versions (pyyaml, for example, is now broken on builds from source on 2.7), and new code isn't really being written that really needs Cython 3 on these old platforms. The goal is to keep them working, not add features (which breaks more than helps!) But do what you want. :) |
b728645
to
c17f5cb
Compare
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
c17f5cb
to
b1d89cf
Compare
Thank you very much @henryiii. It looks very good. I think it is ready for merge (and then I will decide what to do with the coverage :P) |
Would you be interested in integrating with
repo-review
? I've drafted up an example of what would be required for it in this PR, it doesn't add any dependencies.For more on repo-review, see the docs or this post. You can see a WebAssembly powered version at learn.scientific-python.org. I'm pretty sure from my testing that this will work fine with the WebAssembly version. :)
Here's how you can test it:
You can add
foo = "bar"
to the local pyproject.toml and try again:WDYT?