forked from carsonfarmer/fastpair
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
95 lines (84 loc) · 2.14 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
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[project]
name = "fastpair"
dynamic = ["version"]
authors = [
{ name = "Carson J. Q. Farmer", email = "[email protected]" },
]
maintainers = [
{ name = "James D. Gaboardi", email = "[email protected]" },
]
license = { text = "MIT" }
description = "FastPair: Data-structure for the dynamic closest-pair problem."
keywords = ["closest-pair points algorithm fastpair"]
readme = "README.md"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: System :: Distributed Computing",
]
requires-python = ">=3.10"
dependencies = [
"numpy>=1.24",
"scipy>=1.10",
]
[project.urls]
Home = "https://github.com/carsonfarmer/fastpair/"
Repository = "https://github.com/carsonfarmer/fastpair"
[project.optional-dependencies]
tests = [
"codecov",
"coverage",
"pre-commit",
"pytest",
"pytest-cov",
"ruff",
"setuptools_scm",
]
notebooks = [
"jupyterlab",
"matplotlib",
"watermark"
]
all = [
"fastpair[tests,notebooks]"
]
[tool.setuptools.packages.find]
include = ["fastpair", "fastpair.*"]
[tool.coverage.run]
source = ["./fastpair"]
[tool.coverage.report]
exclude_lines = [
"def __repr__",
"except ModuleNotFoundError:",
"except ImportError",
"if __name__ == .__main__.:",
"if self.debug:",
"pragma: no cover",
"raise AssertionError",
"raise NotImplementedError",
]
ignore_errors = true
omit = ["fastpair/tests/*"]
[tool.ruff]
line-length = 88
lint.select = ["E", "F", "W", "I", "UP", "N", "B", "A", "C4", "SIM", "ARG"]
include = [
"*.py",
"*.ipynb",
]
[tool.ruff.lint.per-file-ignores]
"*__init__.py" = [
"F401", # imported but unused
]