ci: update ci pipeline and add python 3.12 #192
Annotations
4 errors
Tests (3.9):
datacite/schema31.py#L1
Black format check
--- /home/runner/work/datacite/datacite/datacite/schema31.py 2024-07-08 07:52:37.324935+00:00
+++ /home/runner/work/datacite/datacite/datacite/schema31.py 2024-07-08 07:53:12.962797+00:00
@@ -36,11 +36,11 @@
"{http://www.w3.org/2001/XMLSchema-instance}schemaLocation": "http://datacite.org/schema/kernel-3 "
"http://schema.datacite.org/meta/kernel-3/metadata.xsd",
}
validator = validator_factory(
- importlib_resources.files('datacite') / 'schemas/datacite-v3.1.json'
+ importlib_resources.files("datacite") / "schemas/datacite-v3.1.json"
)
def dump_etree(data):
"""Convert JSON dictionary to DataCite v3.1 XML as ElementTree."""
|
Tests (3.9)
Process completed with exit code 1.
|
Tests (3.12):
datacite/schema31.py#L1
Black format check
--- /home/runner/work/datacite/datacite/datacite/schema31.py 2024-07-08 07:52:39.242661+00:00
+++ /home/runner/work/datacite/datacite/datacite/schema31.py 2024-07-08 07:53:21.734120+00:00
@@ -36,11 +36,11 @@
"{http://www.w3.org/2001/XMLSchema-instance}schemaLocation": "http://datacite.org/schema/kernel-3 "
"http://schema.datacite.org/meta/kernel-3/metadata.xsd",
}
validator = validator_factory(
- importlib_resources.files('datacite') / 'schemas/datacite-v3.1.json'
+ importlib_resources.files("datacite") / "schemas/datacite-v3.1.json"
)
def dump_etree(data):
"""Convert JSON dictionary to DataCite v3.1 XML as ElementTree."""
|
Tests (3.12)
Process completed with exit code 1.
|