Skip to content

Commit

Permalink
finish code review
Browse files Browse the repository at this point in the history
  • Loading branch information
kylepjohnson authored and clemsciences committed Nov 4, 2023
1 parent 9c97635 commit 296fbc1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ freezeDependencies:

install:
echo "Excluding ``[tool.poetry.dev-dependencies]`` in ``pyproject.toml``"
poetry install --no-dev
poetry install --only main

installDev:
# Including ``[tool.poetry.dev-dependencies]`` in ``pyproject.toml``
Expand Down
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cltk"
version = "1.1.7a6"
version = "1.1.7"
description = "The Classical Language Toolkit"
license = "MIT"
authors = ["Kyle P. Johnson <kyle@kyle-p-johnson.com>", "Patrick J. Burns <patrick@diyclassics.org>", "John Stewart <johnstewart@aya.yale.edu>", "Todd Cook <todd.g.cook@gmail.com>", "Clément Besnier <clem@clementbesnier.fr>", "William J. B. Mattingly <https://github.com/wjbmattingly>"]
Expand Down Expand Up @@ -44,6 +44,10 @@ stringcase = "^1.2"
spacy = "^3.6.1"
PyYAML = "^6.0.0"
scikit-learn = "^1.0.2"
# Note: Adding torch like this should not be necessary,
# as it is a dependency upstream to other projects
# however the following is necessary to make torch
# build on Docker
torch = ">=2.0.0, !=2.0.1, !=2.1.0"

[tool.poetry.dev-dependencies]
Expand Down
1 change: 1 addition & 0 deletions src/cltk/core/data_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ class Pipeline:
>>> issubclass(a_pipeline.processes[0], Process)
True
"""

description: str
processes: List[Type[Process]]
language: Language
Expand Down

0 comments on commit 296fbc1

Please sign in to comment.