Skip to content

Commit 07d1616

Browse files
committed
Merge branch 'develop' into export_local_uuid
2 parents 65cdcda + afcb069 commit 07d1616

File tree

6 files changed

+44
-12
lines changed

6 files changed

+44
-12
lines changed

.github/workflows/cicd.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@ name: Continuous Integration
1616

1717
on:
1818
push:
19-
branches:
19+
branches:
2020
- main
2121
- develop
22+
- support-*
2223
pull_request:
23-
branches:
24+
branches:
2425
- main
2526
- develop
27+
- support-*
2628
release:
2729
types:
2830
- published
@@ -35,7 +37,7 @@ jobs:
3537
runs-on: ubuntu-latest
3638
strategy:
3739
matrix:
38-
python-version:
40+
python-version:
3941
- '3.9'
4042
- '3.12'
4143

@@ -57,7 +59,7 @@ jobs:
5759
run: make clean
5860
- name: Run tests
5961
run: make PYTHON3=python check
60-
62+
6163
# Build the binary wheel as well as the source tar
6264
- name: Build Objects
6365
run: |

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 23.12.0
3+
rev: 23.12.1
44
hooks:
55
- id: black
66
- repo: https://github.com/pycqa/flake8
7-
rev: 6.1.0
7+
rev: 7.0.0
88
hooks:
99
- id: flake8
1010
- repo: https://github.com/pycqa/isort
11-
rev: 5.13.1
11+
rev: 5.13.2
1212
hooks:
1313
- id: isort
1414
name: isort (python)

case_utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
#
1515
# We would appreciate acknowledgement if the software is used.
1616

17-
__version__ = "0.14.0"
17+
__version__ = "0.14.1.post0"

case_utils/case_validate/validate_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ def disable_tbox_review(graph: rdflib.Graph) -> None:
197197
"Disjointedness-AP-OP-shape",
198198
"Disjointedness-C-DT-shape",
199199
"Disjointedness-DP-OP-shape",
200+
"List-shape",
200201
"ObjectProperty-shacl-constraints-shape",
201202
"ontologyIRI-versionIRI-prerequisite-shape",
202203
"versionIRI-nodeKind-shape",

case_utils/local_uuid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
This library was a wrapper for uuid, provided to generate repeatable UUIDs if requested. It is now a temporary re-export of functionality migrated to cdo_local_uuid.
1919
"""
2020

21-
__version__ = "0.4.0"
21+
__version__ = "0.4.1"
2222

2323
__all__ = ["configure", "local_uuid"]
2424

tests/case_utils/case_validate/uco_test_examples/Makefile

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ SHELL := /bin/bash
1818

1919
top_srcdir := $(shell cd ../../../.. ; pwd)
2020

21-
case_srcdir := $(top_srcdir)/dependencies/CASE
22-
23-
uco_srcdir := $(case_srcdir)/dependencies/UCO
21+
uco_srcdir := $(top_srcdir)/dependencies/CASE/dependencies/UCO
2422

2523
examples_srcdir := $(uco_srcdir)/tests/examples
2624

@@ -102,6 +100,37 @@ all: \
102100
rm __$@
103101
mv _$@ $@
104102

103+
# NOTE - this more-specific recipe enables "tbox" review, but otherwise
104+
# matches the wildcarded recipe.
105+
rdf_list_XFAIL_validation.ttl: \
106+
$(examples_srcdir)/rdf_list_XFAIL.json \
107+
$(tests_srcdir)/.venv.done.log \
108+
$(top_srcdir)/.ontology.done.log \
109+
$(top_srcdir)/case_utils/case_validate/__init__.py \
110+
$(top_srcdir)/case_utils/case_validate/validate_types.py \
111+
$(top_srcdir)/case_utils/case_validate/validate_utils.py \
112+
$(top_srcdir)/case_utils/ontology/__init__.py
113+
source $(tests_srcdir)/venv/bin/activate \
114+
&& case_validate \
115+
--allow-warnings \
116+
--debug \
117+
--format turtle \
118+
--review-tbox \
119+
$< \
120+
> __$@ \
121+
; rc=$$? ; test 0 -eq $$rc -o 1 -eq $$rc
122+
@#Fail if output is empty.
123+
@test -s __$@ \
124+
|| exit 1
125+
java -jar $(RDF_TOOLKIT_JAR) \
126+
--inline-blank-nodes \
127+
--source __$@ \
128+
--source-format turtle \
129+
--target _$@ \
130+
--target-format turtle
131+
rm __$@
132+
mv _$@ $@
133+
105134
# NOTE - this more-specific recipe enables "tbox" review, but otherwise
106135
# matches the wildcarded recipe.
107136
owl_properties_XFAIL_validation.ttl: \

0 commit comments

Comments
 (0)