From 2cc804940395899261d9935caea8a2a4bf892d73 Mon Sep 17 00:00:00 2001 From: Eli Chadwick Date: Tue, 6 Jan 2026 12:23:37 +0000 Subject: [PATCH 1/2] fix some typos --- rocrate_validator/profiles/five-safes-crate/profile.ttl | 4 ++-- .../five-safes-crate/test_5src_6_workflow_reference.py | 2 +- .../profiles/five-safes-crate/test_5src_9_inputs.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rocrate_validator/profiles/five-safes-crate/profile.ttl b/rocrate_validator/profiles/five-safes-crate/profile.ttl index b6a7c1f4..f144e01b 100644 --- a/rocrate_validator/profiles/five-safes-crate/profile.ttl +++ b/rocrate_validator/profiles/five-safes-crate/profile.ttl @@ -46,7 +46,7 @@ # it's in JSON-LD format dct:format ; - # it conforms to JSON-LD, here refered to by its namespace URI as a Profile + # it conforms to JSON-LD, here referred to by its namespace URI as a Profile dct:conformsTo ; # this profile resource plays the role of "Vocabulary" @@ -64,7 +64,7 @@ # it's in HTML format dct:format ; - # it conforms to HTML, here refered to by its namespace URI as a Profile + # it conforms to HTML, here referred to by its namespace URI as a Profile dct:conformsTo ; # this profile resource plays the role of "Specification" diff --git a/tests/integration/profiles/five-safes-crate/test_5src_6_workflow_reference.py b/tests/integration/profiles/five-safes-crate/test_5src_6_workflow_reference.py index 6951f2cb..bf5e577e 100644 --- a/tests/integration/profiles/five-safes-crate/test_5src_6_workflow_reference.py +++ b/tests/integration/profiles/five-safes-crate/test_5src_6_workflow_reference.py @@ -157,7 +157,7 @@ def test_5src_main_entity_has_two_conformsto(): """ Test a Five Safes Crate where the mainEntity -> purl:conformsTo has two objects. - (we add second obcject to mainEntity -> purl:conformsTo to violate maxCount 1). + (we add second object to mainEntity -> purl:conformsTo to violate maxCount 1). """ sparql = ( SPARQL_PREFIXES diff --git a/tests/integration/profiles/five-safes-crate/test_5src_9_inputs.py b/tests/integration/profiles/five-safes-crate/test_5src_9_inputs.py index 732c01d8..e6517098 100644 --- a/tests/integration/profiles/five-safes-crate/test_5src_9_inputs.py +++ b/tests/integration/profiles/five-safes-crate/test_5src_9_inputs.py @@ -30,7 +30,7 @@ def test_input_does_not_reference_formalparameter(): """ Test a Five Safes Crate where an input entity does not reference a `bioschemas:FormalParameter using `schema:exampleOfWork`. - (We replace tjhe ?object of input --> exampleOfWork with a literal) + (We replace the ?object of input --> exampleOfWork with a literal) """ sparql = ( SPARQL_PREFIXES From 48e1f4aa8cd0579ea4f4314171be2ec006a0b5b3 Mon Sep 17 00:00:00 2001 From: Eli Chadwick Date: Thu, 8 Jan 2026 14:50:49 +0000 Subject: [PATCH 2/2] add TRE to allowed words --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index d96b34d9..7ef29168 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -109,3 +109,6 @@ testpaths = ["tests"] [tool.typos.files] extend-exclude = ["tests/data","docs/diagrams","*.json","*.html","*__init__.py"] + +[tool.typos.default.extend-words] +TRE = "TRE"