Skip to content

Commit

Permalink
Update test files
Browse files Browse the repository at this point in the history
  • Loading branch information
matentzn committed Aug 29, 2024
1 parent 51797b7 commit 785a24d
Show file tree
Hide file tree
Showing 3 changed files with 45,703 additions and 45,701 deletions.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT"
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.9"
python = "^3.11"
click = "*"
importlib-metadata = ">=4.8.0"
rdflib = ">=6.3.2"
Expand Down Expand Up @@ -42,6 +42,8 @@ sphinx-rtd-theme = {version = ">=1.0.0", extras = ["docs"]}
sphinx-autodoc-typehints = {version = ">=1.2.0", extras = ["docs"]}
sphinx-click = {version = ">=4.3.0", extras = ["docs"]}
myst-parser = {version = ">=0.18.1", extras = ["docs"]}
flake8 = "^7.1.1"
black = "^24.8.0"



Expand Down
4 changes: 2 additions & 2 deletions src/notebooks/babelon_notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@
" label = \"no label\"\n",
" trans_unit = Element('trans-unit', id=f\"{id_normalised}_{element}\")\n",
" source = SubElement(trans_unit, 'source', {'xml:lang': 'en'})\n",
" source.text = value\n",
" source.text = value.strip().rstrip('.')\n",
" note = SubElement(trans_unit, 'note')\n",
" note.text = f\"definition of {identifier} ({label})\"\n",
" note.text = f\"{element} of {identifier} ({label})\"\n",
" raw = tostring(trans_unit, 'utf-8')\n",
" reparsed = minidom.parseString(raw)\n",
" return reparsed\n",
Expand Down
Loading

0 comments on commit 785a24d

Please sign in to comment.