-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
155 lines (141 loc) · 3.01 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
[build-system]
requires = ["maturin>=0.12,<0.13"]
build-backend = "maturin"
[tool.maturin]
bindings = "pyo3"
compatibility = "linux"
[project]
name = "narrow-down"
version = "1.1.0"
description = "Fast fuzzy text search"
readme = "README.md"
requires-python = "<3.11,>=3.7"
license = {file = "LICENSE"}
keywords = ["narrow-down", "LSH", "minhash"]
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"numpy<1.22; python_version < '3.8'",
"numpy; python_version >= '3.8'",
"typing_extensions",
]
[project.urls]
homepage = "https://github.com/chr1st1ank/narrow-down"
repository = "https://github.com/chr1st1ank/narrow-down"
documentation = "https://chr1st1ank.github.io/narrow-down"
"Bug Tracker" = "https://github.com/chr1st1ank/narrow-down/issues"
[project.optional-dependencies]
scylladb = [
"scylla-driver"
]
docs = [
"sphinx",
"myst-parser",
"nbconvert",
"furo"
]
dev = [
"pre-commit",
"isort",
"black",
"jupyter",
"nbqa",
"nox",
"mypy",
"mypy-protobuf",
"nbmake",
"bump2version",
"pytest",
"pytest-asyncio",
"pytest-benchmark",
"pytest-profiling",
"xdoctest",
"coverage[toml]",
"pytest-cov",
"watchdog[watchmedo]",
"narrow-down[scylladb,docs]"
]
experiments = [
"pandas~=1.0",
"tabulate",
"tqdm"
]
[tool.coverage.paths]
source = ["src", "*/site-packages"]
[tool.coverage.run]
branch = true
source = ["narrow_down"]
[tool.coverage.report]
fail_under = 95
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug",
"if settings.DEBUG:",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if _descriptor._USE_C_DESCRIPTORS == False:",
"if __name__ == __main__:",
"def main"
]
show_missing = true
[tool.coverage.html]
directory = "htmlcov"
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 100
known_third_party = ["nox", ".nox", ".venv", "local"]
[tool.black]
line-length = 100
target-version = ["py37"]
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/mypy
'''
[tool.mypy]
follow_imports = "silent"
python_version = "3.8"
check_untyped_defs = true
[[tool.mypy.overrides]]
module = [
"pytest",
"murmurhash.*",
"nox.*",
"scipy.*",
]
allow_redefinition = false
check_untyped_defs = true
ignore_errors = false
ignore_missing_imports = true
implicit_reexport = false
local_partial_types = true
strict_optional = true
strict_equality = true
no_implicit_optional = true
warn_unused_ignores = true
warn_unreachable = true
warn_no_return = true