-
Notifications
You must be signed in to change notification settings - Fork 15
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
codespell: config, workflow + fixes #214
Conversation
Thanks for opening your first pull request! We are happy to have your contributions 🎉 😄 |
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #214 +/- ##
==========================================
+ Coverage 93.78% 94.19% +0.41%
==========================================
Files 17 17
Lines 965 965
==========================================
+ Hits 905 909 +4
+ Misses 60 56 -4
☔ View full report in Codecov by Sentry. |
Hey, thanks for the PR. I will have to leave it hanging here for a bit. There are substantial reorganizations and deletions going on. It already has conflicts, and resolving them cannot have enough priority right now. Sorry. |
note that actual fixes are just |
Cool, that simplifies things. Thx! |
=== Do not change lines below === { "chain": [], "cmd": "codespell -w || :", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
=== Do not change lines below === { "chain": [], "cmd": "codespell -w -i 3 -C 2", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
cfe1c3d
to
9a7395d
Compare
I don't think errors in docs and appveyor like
could be related to these changes but I could be proven wrong |
fwiw - |
Its not your changes from this PR that cause the majority of issues - they upgraded the dataverse version on demo.dataverse.org, and that seemingly contained a few breaking changes. We've broken it down this far: What breaks is the dataverse_dataset fixture, which uses Pydataverse to create a temporary dataset at demo.dataverse.org. diff --git a/datalad_dataverse/tests/utils.py b/datalad_dataverse/tests/utils.py
index 4a0237a..5c6973e 100644
--- a/datalad_dataverse/tests/utils.py
+++ b/datalad_dataverse/tests/utils.py
@@ -104,26 +104,32 @@ def create_test_dataverse_dataset(api, collection, name):
str
The persistent DOI for the dataset
"""
- meta = {
- "http://purl.org/dc/terms/title": name,
- "http://purl.org/dc/terms/subject":
- "Medicine, Health and Life Sciences",
- "http://purl.org/dc/terms/creator": {
- "https://dataverse.org/schema/citation/authorName": "DataLad",
- "https://dataverse.org/schema/citation/authorAffiliation":
- "datalad.org"
+ meta = {"datasetVersion": {
+ "license": {
+ "name": "CC0 1.0",
+ "uri": "http://creativecommons.org/publicdomain/zero/1.0"
},
- "https://dataverse.org/schema/citation/datasetContact": {
- "https://dataverse.org/schema/citation/datasetContactEmail":
- "team@datalad.org",
- "https://dataverse.org/schema/citation/datasetContactName":
- "DataLad"
- },
- "https://dataverse.org/schema/citation/dsDescription": {
- "https://dataverse.org/schema/citation/dsDescriptionValue":
- "no description"
- }
- }
+ "metadataBlocks": {
+ "http://purl.org/dc/terms/title": name,
+ "http://purl.org/dc/terms/subject":
+ "Medicine, Health and Life Sciences",
+ "http://purl.org/dc/terms/creator": {
+ "https://dataverse.org/schema/citation/authorName": "DataLad",
+ "https://dataverse.org/schema/citation/authorAffiliation":
+ "datalad.org"
+ },
+ "https://dataverse.org/schema/citation/datasetContact": {
+ "https://dataverse.org/schema/citation/datasetContactEmail":
+ "team@datalad.org",
+ "https://dataverse.org/schema/citation/datasetContactName":
+ "DataLad"
+ },
+ "https://dataverse.org/schema/citation/dsDescription": {
+ "https://dataverse.org/schema/citation/dsDescriptionValue":
+ "no description"
+ }
+ }}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me, thanks!
Congrats on merging your first pull request! 😎 The Datalad team is thankful for your contributions |
No description provided.