ci: update ci pipeline and add python 3.12 #191
Annotations
7 errors
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."""
|
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
|
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
|
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
|
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
|
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
|
|
This job failed
Loading