Update pyproject.toml
Browse files- pyproject.toml +15 -67
pyproject.toml
CHANGED
@@ -1,76 +1,24 @@
|
|
1 |
[build-system]
|
2 |
-
requires = [
|
3 |
-
build-backend = "
|
4 |
|
5 |
-
[
|
6 |
-
model_name = "dummy-ner"
|
7 |
-
|
8 |
-
[tool.poetry]
|
9 |
name = "dummy-ner"
|
10 |
version = "0.1.0"
|
11 |
description = ""
|
12 |
-
authors = [ "Perceval Wajsburt <perceval.wajsburt@aphp.fr>",]
|
13 |
readme = "README.md"
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
[tool.interrogate]
|
19 |
-
ignore-init-method = true
|
20 |
-
ignore-init-module = true
|
21 |
-
ignore-magic = false
|
22 |
-
ignore-semiprivate = false
|
23 |
-
ignore-private = false
|
24 |
-
ignore-property-decorators = false
|
25 |
-
ignore-module = true
|
26 |
-
ignore-nested-functions = false
|
27 |
-
ignore-nested-classes = true
|
28 |
-
ignore-setters = false
|
29 |
-
fail-under = 10
|
30 |
-
exclude = [ "docs", "build", "tests",]
|
31 |
-
verbose = 0
|
32 |
-
quiet = false
|
33 |
-
whitelist-regex = []
|
34 |
-
color = true
|
35 |
-
omit-covered-files = false
|
36 |
-
|
37 |
-
[tool.mypy]
|
38 |
-
plugins = "pydantic.mypy"
|
39 |
-
|
40 |
-
[tool.ruff]
|
41 |
-
fix = true
|
42 |
-
extend-exclude = [ ".git", "__pycache__", "__init__.py", ".mypy_cache", ".pytest_cache", ".venv", "build",]
|
43 |
-
line-length = 88
|
44 |
-
select = [ "E", "F", "W", "I001",]
|
45 |
-
|
46 |
-
[tool.poetry.dependencies]
|
47 |
-
python = ">=3.7.1,<4.0"
|
48 |
-
sentencepiece = "^0.1.96"
|
49 |
-
|
50 |
-
[tool.pytest.ini_options]
|
51 |
-
testpaths = [ "tests",]
|
52 |
-
|
53 |
-
[tool.ruff.flake8-tidy-imports]
|
54 |
-
ban-relative-imports = "parents"
|
55 |
-
|
56 |
-
[tool.ruff.extend-per-file-ignores]
|
57 |
-
"__init__.py" = [ "F401",]
|
58 |
-
|
59 |
-
[tool.ruff.isort]
|
60 |
-
known-first-party = [ "edsnlp",]
|
61 |
-
known-third-party = [ "build",]
|
62 |
-
order-by-type = true
|
63 |
-
|
64 |
-
[tool.coverage.report]
|
65 |
-
include = [ "quaero_ner/*", "scripts/*",]
|
66 |
-
omit = [ "tests/*",]
|
67 |
-
exclude_lines = [ "def __repr__", "if __name__ == .__main__.:", "@overload", "pragma: no cover", "raise .*Error", "raise .*Exception", "warn\\(", "if __name__ == .__main__.:", "if TYPE_CHECKING:", "class .*\\bProtocol\\):", "@(abc\\.)?abstractmethod", "Span.set_extension.*", "Doc.set_extension.*", "Token.set_extension.*",]
|
68 |
|
69 |
-
[
|
70 |
-
|
71 |
-
|
|
|
72 |
|
73 |
-
[tool.
|
74 |
-
|
|
|
75 |
|
76 |
-
[tool.
|
|
|
|
1 |
[build-system]
|
2 |
+
requires = ["setuptools>=42", "wheel"]
|
3 |
+
build-backend = "setuptools.build_meta"
|
4 |
|
5 |
+
[project]
|
|
|
|
|
|
|
6 |
name = "dummy-ner"
|
7 |
version = "0.1.0"
|
8 |
description = ""
|
|
|
9 |
readme = "README.md"
|
10 |
+
authors = [
|
11 |
+
{name = "Perceval Wajsburt", email = "perceval.wajsburt@aphp.fr"}
|
12 |
+
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
+
dependencies = [
|
15 |
+
"sentencepiece>=0.1.96",
|
16 |
+
"edsnlp[ml]>=0.11.2",
|
17 |
+
]
|
18 |
|
19 |
+
[tool.setuptools]
|
20 |
+
packages = ["dummy_ner"]
|
21 |
+
include_package_data = true
|
22 |
|
23 |
+
[tool.setuptools.package-data]
|
24 |
+
"dummy_ner" = ["artifacts/**"]
|