-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
98 lines (89 loc) · 2.62 KB
/
pyproject.toml
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "reconner"
version = "0.15.0"
description = "Recon NER, Debug and correct annotated Named Entity Recognition (NER) data for inconsitencies and get insights on improving the quality of your data."
authors = [{ name = "Kabir Khan", email = "[email protected]" }]
readme = "README.md"
requires-python = ">= 3.8"
classifiers = [
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Typing :: Typed",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: MIT License"
]
dependencies = [
"numpy >= 1.20.0",
"pydantic >= 2.0, <3.0",
"spacy >= 3.2.0, < 4.0",
"scipy >= 1.7.0, < 2.0",
"xxhash >= 3.0.0, < 4.0",
"radicli > 0.0.8, <0.1"
]
scripts = { recon = "recon.cli:main" }
[project.urls]
documentation = "https://kabirkhan.github.io/recon"
homepage = "https://kabirkhan.github.io/recon"
[project.optional-dependencies]
dev = [
"hatchling >= 1.21, <2.0",
"pytest",
"pytest-cov",
"pytest-xdist",
"mkdocs",
"mkdocs-material",
"mdx-include >=1.4.1,<2.0.0",
"mkdocstrings-python",
"pyright >= 1.1.303, <1.3",
"ruff >= 0.1, <1.0"
]
hf = [
"datasets >= 2.0, <3.0"
]
plot = [
"seaborn >= 0.9, <1.0"
]
[tool.hatch.build.targets.wheel]
packages = ["recon"]
[tool.pyright]
include = ["recon", "tests", "docs/src"]
reportInvalidStringEscapeSequence = false
reportMissingImports = false
useLibraryCodeForTypes = true
[tool.ruff]
line-length = 88
# Exclude a variety of commonly ignored directories.
exclude = [
".git",
".mypy_cache",
".ruff_cache",
".venv",
"build",
"dist",
"recon/prodigy/recipes.py"
]
src = ["recon", "tests", "docs/src"]
# Assume Python 3.11.
target-version = "py311"
[tool.ruff.lint]
extend-select = ["I001"]
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.isort]
extra-standard-library = ["typing_extensions"]
known-first-party = ["recon"]