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" 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