Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(excel-to-json): allow comments in class and property definitions (…
…#111) * Updating code to handle rdfs:comments in 4 languages in classe and property definition * Updating Excel examples to handle rdfs:comment in 4 languages * chore: add dependencies for python 3.10 compatibility * refactor: minor code changes * docs: update tooling documentation * docs: update documentation according to changes, add excel template files * chore: remove vars.mk * refactor: remove code smell * refactor: reduce code smell * test: add unit test for creating resources from excel
- Loading branch information
Showing
16 changed files
with
185 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
[tool.autopep8] | ||
max_line_length = 180 | ||
in-place = true | ||
experimental = true | ||
|
||
[tool.mypy] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,38 @@ | ||
package(default_visibility = ["//visibility:public"]) | ||
|
||
# make the python rules available | ||
load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test") | ||
load("@rules_python//python:defs.bzl", "py_test") | ||
|
||
# make the dependencies from requirements.txt available | ||
load("@knora_py_deps//:requirements.bzl", "requirement") | ||
|
||
package(default_visibility = ["//visibility:public"]) | ||
|
||
py_test( | ||
name = "test_langstring", | ||
srcs = ["test_langstring.py"] | ||
srcs = ["test_langstring.py"], | ||
) | ||
|
||
py_test( | ||
name = "test_value", | ||
srcs = ["test_value.py"], | ||
deps = [ | ||
"//knora/dsplib/models:value", | ||
"//knora/dsplib/models:group", | ||
"//knora/dsplib/models:helpers" | ||
] | ||
"//knora/dsplib/models:helpers", | ||
"//knora/dsplib/models:value", | ||
], | ||
) | ||
|
||
py_test( | ||
name = "test_id_to_iri", | ||
srcs = ["test_id_to_iri.py"], | ||
data = [ | ||
"//testdata:testdata" | ||
] | ||
"//testdata", | ||
], | ||
) | ||
|
||
py_test( | ||
name = "test_excel_to_resource", | ||
srcs = ["test_excel_to_resource.py"], | ||
data = [ | ||
"//testdata", | ||
], | ||
) |
Oops, something went wrong.