-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (96 loc) · 2.5 KB
/
pyproject.toml
File metadata and controls
107 lines (96 loc) · 2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[project]
name = "s2apler"
version = "0.2.6"
description = "S2APLER: Semantic Scholar (S2) Agglomeration of Papers with Low Error Rate"
readme = "README.md"
requires-python = ">=3.8"
license = { text = "Apache-2.0" }
authors = [
{ name = "Allen Institute for Artificial Intelligence" }
]
keywords = ["clustering", "papers", "semantic-scholar", "machine-learning"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"numpy>=1.23.4,<2",
"scikit-learn>=1.1.3",
"text-unidecode==1.3",
"requests==2.28.1",
"hyperopt==0.2.7",
"pandas==1.5.1",
"lightgbm>=3.3.5",
"fastcluster==1.2.6",
"shap==0.41.0",
"matplotlib>=3.6.2",
"seaborn==0.12.1",
"tqdm==4.64.1",
"jellyfish==0.9.0",
"pylatexenc==2.10",
"awscli>=1.27.12",
]
[project.optional-dependencies]
dev = [
"pytest==7.2.0",
"pytest-cov==4.0.0",
"flake8==5.0.4",
"black==22.10",
"click==8.0.4",
"mypy==0.991",
"pydantic==1.10.2",
]
[project.urls]
Homepage = "https://github.com/allenai/S2APLER"
Repository = "https://github.com/allenai/S2APLER"
Issues = "https://github.com/allenai/S2APLER/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["s2apler"]
[tool.uv]
dev-dependencies = [
"pytest==7.2.0",
"pytest-cov==4.0.0",
"flake8==5.0.4",
"black==22.10",
"click==8.0.4",
"mypy==0.991",
"pydantic==1.10.2",
]
[tool.black]
line-length = 120
target-version = ["py38"]
include = '\.pyi?$'
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
addopts = "-v --cov=s2apler --cov-report=term-missing"
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
ignore_missing_imports = true
[tool.coverage.run]
source = ["s2apler"]
omit = ["*/tests/*", "*/test_*.py"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]