ci: update ci pipeline and add python 3.12 #191
Annotations
14 errors
Tests (3.9):
datacite/schema31.py#L1
Black format check
--- /home/runner/work/datacite/datacite/datacite/schema31.py 2024-07-08 07:48:09.310110+00:00
+++ /home/runner/work/datacite/datacite/datacite/schema31.py 2024-07-08 07:48:46.536009+00:00
@@ -35,11 +35,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):
datacite/schema31.py#L1
isort-check
"""DataCite v3.1 JSON to XML transformations."""
import importlib.resources as importlib_resources
+
from lxml import etree
from lxml.builder import E
|
Tests (3.9):
datacite/schema40.py#L1
isort-check
"""DataCite v4.0 JSON to XML transformations."""
import importlib.resources as importlib_resources
+
from lxml import etree
from lxml.builder import E
|
Tests (3.9):
datacite/schema41.py#L1
isort-check
"""DataCite v4.1 JSON to XML transformations."""
import importlib.resources as importlib_resources
+
from lxml import etree
from lxml.builder import E
|
Tests (3.9):
datacite/schema42.py#L1
isort-check
"""DataCite v4.2 JSON to XML transformations."""
import importlib.resources as importlib_resources
+
from lxml import etree
from lxml.builder import E
|
Tests (3.9):
datacite/schema43.py#L1
isort-check
"""DataCite v4.3 JSON to XML transformations."""
import importlib.resources as importlib_resources
+
from lxml import etree
from lxml.builder import E
|
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:48:09.197576+00:00
+++ /home/runner/work/datacite/datacite/datacite/schema31.py 2024-07-08 07:48:50.706766+00:00
@@ -35,11 +35,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):
datacite/schema31.py#L1
isort-check
"""DataCite v3.1 JSON to XML transformations."""
import importlib.resources as importlib_resources
+
from lxml import etree
from lxml.builder import E
|
Tests (3.12):
datacite/schema40.py#L1
isort-check
"""DataCite v4.0 JSON to XML transformations."""
import importlib.resources as importlib_resources
+
from lxml import etree
from lxml.builder import E
|
Tests (3.12):
datacite/schema41.py#L1
isort-check
"""DataCite v4.1 JSON to XML transformations."""
import importlib.resources as importlib_resources
+
from lxml import etree
from lxml.builder import E
|
Tests (3.12):
datacite/schema42.py#L1
isort-check
"""DataCite v4.2 JSON to XML transformations."""
import importlib.resources as importlib_resources
+
from lxml import etree
from lxml.builder import E
|
Tests (3.12):
datacite/schema43.py#L1
isort-check
"""DataCite v4.3 JSON to XML transformations."""
import importlib.resources as importlib_resources
+
from lxml import etree
from lxml.builder import E
|
Tests (3.12)
Process completed with exit code 1.
|