-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpyproject.toml
108 lines (92 loc) · 2.16 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "scikit-spatial"
version = "8.1.0"
description = "Spatial objects and computations based on NumPy arrays."
license = { text = "BSD-3-Clause" }
authors = [
{ name = "Andrew Hynes", email = "andrewjhynes@gmail.com" },
]
readme = "README.md"
keywords = ["NumPy", "matplotlib", "visualization", "spatial", "linear algebra"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
]
requires-python = ">=3.8"
dependencies = [
"matplotlib>=3",
"numpy>1.24; python_version >= '3.12'",
"numpy>=1; python_version < '3.12'",
"scipy>1.11; python_version >= '3.12'",
"scipy>=1; python_version < '3.12'",
]
[project.urls]
repository = "https://github.com/ajhynes7/scikit-spatial"
documentation = "https://scikit-spatial.readthedocs.io"
[tool.hatch.build.targets.wheel]
packages = ["src/skspatial"]
[tool.uv]
dev-dependencies = [
"mypy>=1.14.0",
"pytest-cov>=5.0.0",
"pytest>=8.3.3",
"ruff>=0.8.4",
]
[tool.pytest.ini_options]
pythonpath = ["src"]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
# pydocstyle
"D",
# flake8-bugbear
"B",
# flake8-builtins
"A",
# flake8-commas
"COM",
# flake8-comprehensions
"C4",
# flake8-eradicate
"ERA",
# flake8-print
"T20",
# flake8-pytest-style
"PT",
# flake8-simplify
"SIM",
# flake8-unused-arguments
"ARG",
# isort
"I",
# pycodestyle
"E", "W",
# pyflakes
"F",
# NumPy 2 deprecation
"NPY201",
]
ignore = [
"D104",
"D105",
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D"]
"examples/*" = ["D"]
"docs/*" = ["D"]
[tool.ruff.format]
quote-style = "preserve"