-
Notifications
You must be signed in to change notification settings - Fork 29
/
pyproject.toml
112 lines (93 loc) · 2.46 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
[tool.poetry]
name = "csaps"
version = "1.2.0"
description = "Cubic spline approximation (smoothing)"
authors = ["Evgeny Prilepin <esp.home@gmail.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/espdev/csaps"
repository = "https://github.com/espdev/csaps"
documentation = "https://csaps.readthedocs.io"
keywords = ["cubic", "spline", "approximation", "smoothing", "interpolation", "csaps"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Software Development :: Libraries",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
]
include = [
"LICENSE",
"CHANGELOG.md",
"CONTRIBUTORS.txt",
]
packages = [
{include = "csaps"}
]
[tool.poetry.dependencies]
python = ">=3.9"
typing-extensions = "*"
numpy = [
{version = "*", python = "<3.12"},
{version = ">=1.26.2", python = ">=3.12"},
]
scipy = [
{version = "*", python = "<3.12"},
{version = ">=1.11.4", python = ">=3.12"},
]
[tool.poetry.group.dev.dependencies]
setuptools = "^69.0.2"
pytest = "^7.4.3"
pytest-cov = "^4.1.0"
m2r2 = "^0.3.2"
docutils = "^0.20.0"
sphinx = "^7.1.2"
numpydoc = "^1.6.0"
matplotlib = "^3.7.4"
ruff = "^0.5.0"
mypy = "^1.7.1"
pre-commit = "^3.7.1"
[build-system]
requires = ["poetry-core", "setuptools"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
target-version = "py39"
line-length = 120
exclude = [
".ruff_cache",
".venv",
]
[tool.ruff.lint]
select = [
"E", # All pycodestyle errors
"W", # All pycodestyle warnings
"F", # All Pyflakes errors
"A", # All flake8-builtins
"Q", # Quotes
"T201", # print found
"T203", # pprint found
]
ignore = []
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
inline-quotes = "single"
[tool.ruff.format]
quote-style = "single"
[tool.mypy]
python_version = "3.9"
[[tool.mypy.overrides]]
module = [
"numpy",
"scipy"
]
ignore_missing_imports = true